Load More Button stays when there are no posts
-
I have a template where i am doing a wpquery and showing the first 7 posts
then using
<?php echo do_shortcode(‘[ajax_load_more post_type=”news” offset=”7″ posts_per_page=”6″ pause=”true” images_loaded=”true” button_label=”Load More” button_loading_label=”Loading…” scroll=”false” transition_container=”false”]’); ?>
And it loads until there are no more but the button does not disappear.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Load More Button stays when there are no posts’ is closed to new replies.