Support » Plugins and Hacks » Navigation isn't showed anywhere

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('&laquo; %link'); ?>
    	<div class="alignright single">
    		<?php next_post_link('%link &raquo;'); ?>
    <?php } else { ?>
    	<?php if ( function_exists('wp_pagenavi') ) { ?>
    		<?php wp_pagenavi(); ?>
    	<?php } else { ?>
    		<?php posts_nav_link(); ?>
    	<?php } ?>
    <?php } ?>

    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.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Grant Kimball


    First off, make a back up (if you’d like) just to make sure you don’t harm any template files.

    second, looks like you can just replace everything you have there with this… If you are running the same condition within a condition that doesn’t matter, its pointless 🙂

    <div class="navigation clearfix">
    $page_navi = function_exists('wp_pagenavi') ? true : false ;
    ($page_navi) ? wp_pagenavi() : posts_nav_link();?>

    This is really based on your template though. But the above code should work fine.

    solution work for me – thx

    Hey guys
    some body help me.
    I am just intalled this plugin on my website GlobalCraze
    and then i don’t find this plugin working. No page numbers are available at bottom of the posts.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Navigation isn't showed anywhere’ is closed to new replies.