New answers tagged

0

My domain is now pointing the new web server host. All seems works perfectly. I can execute WordPress plugin update, my image appears... I precise that I don't change the domain name and my site was already in HTTPS. So to resume, this is the steps to migrate a WordPress : Download all my website and blog content on my hard drive Export a .sql of WordPress ...


0

This can sometimes be caused by wp-super-cache plugin....in combination with really-simple-SSL plugin. Solution: in wp-config.php change: define('WP_CACHE', true);* to *define('WP_CACHE', false);


1

It would seem you have covered all your bases and your site is working as it should. An additional step I have found useful is to verify hard coded paths within your exported SQL file because problems might not appear for weeks after the move. I have moved a sites a few times and it seemed to be working fine, but after a few weeks I noticed some images ...


0

Try updating your Wordpress Manually if you are not on the current version: https://wordpress.org/support/article/updating-wordpress/ If you are on the correct version I suggest slowly deleting your most recently installed plugins. If you do not remember, I suggest slowly deleting them one by one and checking to see if you can then login. NOTE You do not ...


0

function searchstring_wpdb(){ global $wpdb; $mytables=$wpdb->get_results("SHOW TABLES"); $ss = 'cdn.cloudflare.com'; //string to search $used_is = ''; foreach ($mytables as $mytable) { foreach ($mytable as $table) { $existing_columns = $wpdb->get_col("DESC {$table}", 0); foreach ($...


6

I guess you are using Gutenberg in which case this is non-trivial problem. Gutenberg saves post data in two steps (two separate http requests, just use developer tools in your browser to check). First, using REST API it saves Gutenberg-ready fields including title, content and slug. Problem is, REST API uses JSON and $_POST is empty array during this save ...


2

So, we figured out what it was. In the options table (wp_options for some, we chose to do away with the wp prefix), there's a user_roles (or wp_user_roles value). One of the plugins we used (Yoast SEO in this case) had an update that zapped the value of that option, removing the Administrator role from that list. As a result, no admin could log into the ...


0

Well i think you just do everything inside of TopAuthor and add_action( 'admin_menu', 'TopAuthor' );


-1

This works for me. I have done it only for anco_project_year_from but you can easily add the condition for anco_project_year_to. Hope it helps. function anco_project_year_column_orderby( $query ) { if( ! is_admin() ) { return; } $orderby = $query->get( 'orderby'); if ( 'anco_project_year_from' == $orderby ) { $query->...


0

You can upload file using ajax using below code: First : Add attributes name="f-form" and id="f-form" in your <form> tag. After that, In js script, get form data using new FormData() and send to ajax data, Note : change url: ajax_object.ajaxurl with your ajax url path jQuery(document).ready(function(e) { jQuery('#f-submit').on('click', ...


Top 50 recent answers are included