Title: Where to insert the code?
Last modified: August 31, 2016

---

# Where to insert the code?

 *  Resolved [sreekanthgopinathan](https://wordpress.org/support/users/sreekanthgopinathan/)
 * (@sreekanthgopinathan)
 * [10 years ago](https://wordpress.org/support/topic/where-to-insert-the-code-5/)
 * Hello,
    I’m using **fashionistas WordPress** theme. Can anyone in this group 
   help me? I installed WP-PageNavi Plugin. Now the question is, where should i 
   install this code **<?php wp_pagenavi(); ?>** and what’s next?
 * My website: [http://jobs.filmmakersfans.com/](http://jobs.filmmakersfans.com/)
 * Thanks and Regards
    Vimal Kumar
 * [https://wordpress.org/plugins/wp-pagenavi/](https://wordpress.org/plugins/wp-pagenavi/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [10 years ago](https://wordpress.org/support/topic/where-to-insert-the-code-5/#post-7309684)
 * I would suggest context your theme author. It differs from theme to theme VERY
   differently, so I can’t help you with it.
 *  [BibiFayruz](https://wordpress.org/support/users/bibifayruz/)
 * (@bibifayruz)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/where-to-insert-the-code-5/#post-7309924)
 * There’s a lign with the word “nav” somewhere in it in the file Main Index Template(
   index.php). It comes after <?php endwhile; ?> and before <?php else : ?>. I already
   changed it, so I can’t find back the original lign, sorry. Anyway, replace that
   whole lign with the WP-PageNavi code. Hope this helped!
 *  [BibiFayruz](https://wordpress.org/support/users/bibifayruz/)
 * (@bibifayruz)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/where-to-insert-the-code-5/#post-7309925)
 * Okay, got it! In the Main Index Template (index.php) file, there’s the following
   lign:
 * `<?php athemes_content_nav( 'nav-below' ); ?>`
 * Replace it by the WP-PageNavi code (`<?php wp_pagenavi(); ?>`).
 * There you go, that should work!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Where to insert the code?’ is closed to new replies.

 * ![](https://ps.w.org/wp-pagenavi/assets/icon.svg?rev=977997)
 * [WP-PageNavi](https://wordpress.org/plugins/wp-pagenavi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-pagenavi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-pagenavi/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-pagenavi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-pagenavi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-pagenavi/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [BibiFayruz](https://wordpress.org/support/users/bibifayruz/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/where-to-insert-the-code-5/#post-7309925)
 * Status: resolved