WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Pagination problem (2 posts)

  1. liviuv
    Member
    Posted 1 year ago #

    Hello everybody !

    I'm trying to fix pagination in a wordpress theme and I know it used to work with older versions .. or so I think ... here is the code

    <?php if ($wp_query->max_num_pages > 1) : ?>
    
    			<nav id="post-nav">
    				<?php pt_pagination(); ?>
    			</nav>
    
    			<?php endif; ?>

    now I think the problem is with if ($wp_query->max_num_pages > 1) :

  2. liviuv
    Member
    Posted 1 year ago #

    nevermind ! the problem was in the template file .

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags