Subscibe our Newsletter for FREE and stay up to date with our daily lesson*

How to Add PageNavi on WordPress

Hello, in this post i want to tell you how to install WP PageNavi which is commonly used to make a well-structured navigation of your posts in the home and archive pages. You can take a look on my home page for the simple sample :-)

  1. Download the plugin first on WordPress Plugin Directory
  2. Upload it into your home/wp-content/plugins/ using your FTP software.
  3. Install the plugin on Admin Page > Plugins
  4. Edit your Theme with HTML editor by open the Admin Page > Appereance / Theme > Theme Editor
  5. Open up the index.php
  6. Then look for the <?php next_posts_link() ?> and <?php previous_posts_link();?>
  7. Replace the both of them with a single PHP function below: <?php wp_pagenavi();?>
  8. Then Save your Changes
  9. Open your blog to see if it works.

Note: if you are seeing that you have index.php, archives.php, search.php, tags.php, and category.php, you have to do the 6th step until the 8th steps for each 5 of them. However, some New Themes already implement this code by default :-)

Let's talk it out!

5 Responses to “How to Add PageNavi on WordPress”

  • Forex Indicator

    Is the plugins support for wp newest version ?


  • julian

    of course it will ….
    if you have some problem, tell me about it :-P


  • Maira Golanski

    Excellent posting. I am glad you posting that. I hope you can accept my apology for my less good English Skills, I am from France and English is kind of new to me.


  • kitchenaidpro

    Your blog is so informative maintain up the very good do the job!!!!


What is in your mind ?

Subscribe Me

Learn more the basic tips about WordPress and PHP coding. You can subscribe to our Newsletter to stay in touch with every new stories FREE

Sponsors

WooThemes - Where there's a Woo, there's a way!

Our FaceBook (new)


Discussion Topics

Who am I ?

My name is Julian Widya Perdana. I study at University of Gadjah Mada, Yogyakarta. I am a young developer addicted in JavaScript, Plugins, Themes, AJAX, and PHP developement. If you need anything, then submit it on Contact Us. If you feel satisfy with my work, please support me to keep it developed

Our Community

Discussion

hokya

well, i am not sure with mine too :-)

musang

Thanks Julian i will use this plugins too

My Blog

Excellent post , You hit the nail on the head, I just don't think that people quite get it. I
Close