-
Hello,
Thanks for this fabulous plugin !!!
an idea, would be to add a flush fonction after importing data.
i just migrate a big database site to rank math & everything works well, except that all the posts have to be update before rank math dashboard could be filed.For 1500 posts, it is a bit long to do.
So i’ve wrote a little function to update all posts (in functions.php)
function update_all_posts() { $args = array( 'post_type' => 'post', 'numberposts' => -1 ); $all_posts = get_posts($args); foreach ($all_posts as $single_post){ $single_post->post_title = $single_post->post_title.''; wp_update_post( $single_post ); } } add_action( 'wp_loaded', 'update_all_posts' );
But i think, it would be more easyer that after the import, you add an option to do it manually for non developper users 😀
Long live to Rank math !
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this ticket.