Support » Plugin: WP-PageNavi » [Plugin: WP-PageNavi] using pagenavi- can anyone explain how to use it, in more detail?

  • Hi,

    Quite tired now, so maybe this is not as difficult as it seems;-

    I don’t understand the installation instructions for pagenavi:-

    “In your theme, you need to find calls to next_posts_link() and previous_posts_link() and replace them.”

    Where in my theme? There are a lot of php documents… whats a good way to find this in them all?

    “Multipart pages

    For multipart pages, you would look for code like this:

    <?php wp_link_pages( … ); ?>

    and replace it with this:

    <?php wp_pagenavi( array( ‘type’ => ‘multipart’ ) ); ?>”

    Again, where would I look for this code. I’m using suffusion template.

    Also, would “<?php wp_link_pages( … ); ?>” be present somewhere in there even if I haven’t put any instances of !–nextpage–> in my html for the post I want to split?

    (The reason I ask is because when I did this prior to installing pagenavi, I got unusable pagination, and now I have pagenavi installed, I have no pagination, and my sidebars are all messed up. No good.)

    All I want to do is split long posts up into pages. Nothing fancy, although being able to style the pagination sounds good in theory:)

Viewing 8 replies - 1 through 8 (of 8 total)
  • Suffusion has pagenavi built into it…

    Great, but unfortunately I still don’t understand where I’m supposed to look for “<?php wp_link_pages( … ); ?>” etc.

    Can anyone please explain the instructions on how to do multipart pages in more depth? Or point me to a video/ tutorial on how to do this?



    Im looking for the same.
    Also my theme has built in but tags pages don’t show pagination at all. I think checking if this codes are all ok can solve the problem, but where to find those lines?

    I couldn’t find the code, I decided it wasn’t worth the effort to go looking for it, the instructions didn’t help, I got no useful replies to my forum question, so I just settled for using suffusion’s/wordpress’s default method for pagination.

    I would still like to understand the instructions for using pagenavi, I’m annoyed that they make no sense to me, I wasted a lot of time trying to understand them.

    Maybe if you post a similar question to mine you will have more luck. I had to give up, personally.


    I also need help on this.
    I am using Kippis 1.13 theme for my website.
    I am new to wordpress and the modifying instructions for .php files doesn’t make any sense to me.
    I tried to find the the lines which needs to be replaced but couldn’t find any.
    A video tutorial will be really cool.
    Guess I too will have to give up on this great plugin due to info.

    there’s no:

    <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyten' ) ); ?></div>
    <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div>

    in twenty eleven theme.

    Quite give up to find.

    I’ve found the solution for TwentyEleven theme.

    1. Dashboard > Appearance > Editor
    2. Select functions.php template
    3. find this code

    div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentyeleven' ) ); ?></div>
    <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?></div>

    4. Backup that codes first (if screwed up, revert). Replace that code with:

    <?php wp_pagenavi(); ?>

    5. Update file
    6. End

    Maybe these will defer with another themes, should manually find it

    Thanks, if I feel brave enough to deal with disappointment if it doesn’t work, I shall try this.

    Thanks Speedrider, at last someone has suggested something useful! I hope it works for suffusion.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WP-PageNavi] using pagenavi- can anyone explain how to use it, in more detail?’ is closed to new replies.