WordPress.org

Ready to get started?Download WordPress

Forums

[pagenavi] just on one template (2 posts)

  1. rhythmofthecosmos
    Member
    Posted 4 years ago #

    Hi,

    I have many templates and only need pagenavi on one of them..

    I know I have to enter the code <?php wp_pagenavi(); ?>

    but am not sure where to put this for it to show up only on one template..

    Thanks

  2. MichaelH
    Member
    Posted 4 years ago #

    Use Template Hierarchy to determine what Template WordPress is using to display those posts, then try using the code in that template.

    Related:
    Stepping Into Template Tags
    Stepping Into Templates

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags