• Resolved Treebeard

    (@malawimama)


    I used the shortcode builder.

    Looking at a subcategory that contains only 2 posts – there is still a Load More button, which seems to be loading posts from other categories too.

    This is my code in category.php:

    <?php echo do_shortcode('[ajax_load_more loading_style="white" container_type="div" post_type="post" posts_per_page="12" offset="12" pause="true" max_pages="16" transition_container_classes="darkblue excerpts row small-up-1 medium-up-3" progress_bar="true" progress_bar_color="0e98e1"]'); ?>

    Does anyone know how to stop the Load More button from even showing if you reach the end of the current category posts? I don’t see anything in the settings. It should only load the current category posts not other categories as well.

    • This topic was modified 2 years, 11 months ago by Treebeard.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Loads wrong category posts’ is closed to new replies.