Navigation isn't showed anywhere
-
Hey guys, it’s been a few days since I’ve been trying to make this work with no luck.
I don’t know much at all about coding or anything but I thought I could make this work without too much trouble…
I’m running a site using WP-Bold template, there isn’t any option by default (or I don’t see it anywhere) to enable posts pagination (newer post, older post…) so I installed this plugin but it is not doing anything at all at my site.
I found the lines that (I guess) have to be changed in the file named bot-nav.php which looks like this:
<div class="navigation clearfix"> <?php if ( is_single() ) { ?> <div class="alignleft single"> <?php previous_post_link('« %link'); ?> </div> <div class="alignright single"> <?php next_post_link('%link »'); ?> </div> <?php } else { ?> <?php if ( function_exists('wp_pagenavi') ) { ?> <?php wp_pagenavi(); ?> <?php } else { ?> <?php posts_nav_link(); ?> <?php } ?> <?php } ?> </div>
and replaced the 2 divs below <?php if ( is_single() ) { ?> with <?php wp_pagenavi(); ?> but it’s still not showing anything on my posts.
What am I missing? I’m sure it’s some kind of stupid fault on my part.
Thanks in advance.
- The topic ‘Navigation isn't showed anywhere’ is closed to new replies.