[Plugin: WP PageNavi] 1st page keeps reloading
-
My wordpress theme is supposed to be compatible with PageNavi but when I installed the plugin and activated it, it doesn’t work like it should.
My blog is new and has 2 pages of posts. When I click page 2, it just loads the home page (page 1) again.
This is the code located after the posts:
<?php get_sidebar('main'); ?> <?php if(function_exists('wp_pagenavi')) { ?> <div id="navigation" class="pagination pagination-centered"> <?php wp_pagenavi(); ?> </div> <?php } else { ?> <div id="navigation"> <ul class="pager"> <li id="navigation-previous"><?php previous_posts_link(__('« Previous', 'pinclone')) ?></li> <li id="navigation-next"><?php next_posts_link(__('Next »', 'pinclone')) ?></li> </ul> </div> <?php } ?> <div id="scrolltotop"><a href="#"><i class="icon-chevron-up"></i><br /><?php _e('Top', 'pinclone'); ?></a></div> </div> <div class="modal hide" id="post-lightbox" tabindex="-1" role="dialog" aria-hidden="true"></div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: WP PageNavi] 1st page keeps reloading’ is closed to new replies.