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?
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:)
- The topic ‘[Plugin: WP-PageNavi] using pagenavi- can anyone explain how to use it, in more detail?’ is closed to new replies.