WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
How to change location? (2 posts)

  1. kimmi_baby
    Member
    Posted 1 year ago #

    Hi,
    I'm wondering how to change the location of the pagination? I've noticed it's displayed at the bottom of the page. I'd like it displayed at the top instead. How do I do this?

    Thanks!

    http://wordpress.org/extend/plugins/wp-pagenavi/

  2. AntowaKartowa
    Member
    Posted 1 year ago #

    Simply go to your theme folder:
    YourSite.com/wp-content/themes/NameOfYourTheme
    Most likely your pagination shows in Categories, Archives, so you need category.php and archive.php files (look for details http://codex.wordpress.org/Template_Hierarchy)

    There you need to find <?php if( function_exists( 'wp_pagenavi' ) ) { wp_pagenavi(); } ?> or something like this and replace this part higher in code where you want to appear pagination. I think you can duplicate it to have pagination on top and in the bottom.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.