Installing WP-PageNavi for multi-part posts (3 posts)

  1. FreshFromTheGrave
    Posted 4 years ago #

    Hey guys I'm just trying to find out what's involved when trying to install WP-PageNavi for multi part posts when the line
    <?php wp_link_pages( ... ); ?>
    is not present in any file. As such I have no idea where to put this line <?php wp_pagenavi( array( 'type' => 'multipart' ) ); ?> The theme has pagination on the home page and archives but nothing at all for multi part posts. Is it still possible to install it and get post pagination working? If so how?

    Thanks for any help!


  2. Michael
    Forum Moderator
    Posted 4 years ago #


    possible locations to add the code would be:

    - single.php
    - page.php
    - (index.php, archive.php, ...)

    in the loop after the line with 'the_content()'

    how and where exactly depends on your theme.

  3. FreshFromTheGrave
    Posted 4 years ago #

    alchymyth you're a winner man :) thanks so much I got it working in no time with that! I thought it would be a hassle but that was quite painless :) thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic