Load more content loads after the button
-
First of all thanks for a great plugin, i’ve seen it working flawlessly on other sites, so im pretty sure my problem is due to my specific theme.
In short, all functions work on my site, however after pressing the load more button, the loaded content appears under the load more button, instead of above it, which means it simply renders page 2 underneath, with page numbers and everything again, however the load more button does not appear again.
My Themes Loop Code:
<?php // Start the Loop. while ( have_posts() ) : the_post(); get_template_part('content'); endwhile; if ($modality_theme_options['simple_paginaton'] == '1') { // Displays links for next and previous pages. ?> <div class="clear"></div> <div class="simple-pagination"> <?php posts_nav_link(); ?> </div> <?php } else { // Previous/next post navigation. ?> <div class="clear"></div><?php modality_paging_nav(); } ?>
I suspect the pagination to be my problem, and i’ve tried several ways to add it before the pagination without success, either it breaks the site, or the load more button dissapears completely.
It only shows up, when i add it right before or anywhere after the “<?php
modality_paging_nav();
} ?>`”Please help me get it working properly ??
- The topic ‘Load more content loads after the button’ is closed to new replies.