Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter G C

    (@gdcosmin)

    is not working

    it works fine….. did you actually set it up?

    <?php wp_pagenavi(); ?>

    adding that to your theme where you want the numbers to go?

    I actually replace my normal navigation code with:

    <?php if(function_exists('wp_pagenavi')) : ?>
    			<?php wp_pagenavi(); ?>
    		<?php else : ?>
    			<div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries')); ?></div>
    			<div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;')); ?></div>
    		<?php endif; ?>

    That way, if the plugin is installed, it works. If not, the old navigation works.

    Thread Starter G C

    (@gdcosmin)

    where should i go to replece it in witch folder , file please ?

    if it’s only for category pages, look for a category.php in your theme. If you don’t have one, check archive.php

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘page navigation’ is closed to new replies.