The “Load more” button keeps loading the same posts again and again…

Hi,
Most of the time, when this situation appeared, it was related to a cache that was applied.
Can you check if this situation appears when you are logged in and there is no cache applied?
If the situation persists, can you make a test using only the tagDiv plugins?
I can see that this happens when traffic is not routed through it. The admin-ajax.php endpoint is generating the raw HTML so it is likely an issue with the plugin.
I’m curious how that layout was made? I’d love to have a layout like that of my publications.
Hi animationmagazine,
Please do a test using only the tagDiv plug-in to make sure that no plugin interferes (in most situations, there is an extra plugin interfering that is causing this problem).
If the problem persists using only the theme plugins, please make a full backup and contact us via email at contact@tagdiv.com and provide wp-admin and cPanel access. Include the topic details. We’ll check it as soon as we can.
Thank you!
Here is quick workaround (may help support debugging problem) until we wait for update:
add_filter('td_data_source_blocks_query_args', function ($args, $atts) {
if (isset($_POST['td_current_page'])) {
$current_page = (int) $_POST['td_current_page'];
$posts_per_page = (int) $args['posts_per_page'];
$offset = ($current_page - 1) * $posts_per_page;
$args['offset'] = $offset;
}
return $args;
}, 10, 2);
