Duplicate posts on archive page
Duplicate posts on archive page
Duplicate posts on archive page
I think I found the issue. It looks WPML, the translation plugin, makes a duplicate page for every translated version of a page. So we had multiples of a few pages that were translated into various languages. Sidenote: WPML stopped working a couple months ago and none of their fixes have worked yet. So no … Read more
Start by ensuring that there is actually a 15min interval available. // create the cron scheduled interval to be used add_filter(‘cron_schedules’,’ex11_cron_schedules’); function ex11_cron_schedules($schedules){ if(!isset($schedules[“15min”])){ $schedules[“15min”] = array( ‘interval’ => 15*60, ‘display’ => __(‘Once every 15 minutes’)); } return $schedules; } Then create a custom WP_Query loop to fetch all the records you need to compare, … Read more
If you have access to a Linux/Mac/Unix command line with bash, you can do the following: Export your database to an SQL file. Use sed command with -E to run regex search and replace operations on URLs that do not contain wp-content/uploads (or whichever folder contains your media) Import your SQL file to the new … Read more
Currently, it looks like you are looping through comments and then querying the posts from there. Could you use the comment_count order by parameter directly in the posts query itself? For example: <?php $post_args = array( ‘post_type’ => ‘portfolio’, ‘posts_per_page’ => 1, ‘orderby’ => ‘comment_count’ ); $posts = get_posts($post_args); foreach ($posts as $post) : setup_postdata($post); … Read more
Duplicate images on upload
Cloning product not copying custom taxonomies
I was experiencing a similar problem and nothing was working for me, so I posted my solution here: How to validate XML-RPC post creation and cancel when needed? Maybe you want to check it. I hope it helps!
try the Yoast seo plugin. In the past few weeks, I tried switching to SEO audit plugins, most of them available options like declaring to search engines that No index pages / page2, page / n … I turned Back to Yoast Seo, Yoast Seo even in the free version, has a pre-installed token with … Read more
It is possible to use another site’s RSS feed to create content on a site. See this plugin. If you go to Settings > Reading (/wp-admin/options-reading.php) you could try and remove the Full Text from the post feed.