[Resolved] Pagination for static page with post loop
I made a custom page template for Twenty Twelve. The pagination works fine unless I set it as a static homepage, then it will just reload the same posts which is useless because it will be used as a static homepage.
This is what I’m using to display the pagination.
<?php /* Display navigation */ ?> <?php if ( $wp_query->max_num_pages > 1 ) : ?> <?php twentytwelve_content_nav( 'nav-below' ); ?> <?php endif; wp_reset_query(); ?>
Any idea how to make it work for a static homepage as well?
- The topic ‘[Resolved] Pagination for static page with post loop’ is closed to new replies.