Support » Plugins » WP-PageNavi to Underscores

  • Judia


    I’ve been experimenting with underscores as a quicker way to develop wordpress themes and I realized that wp-pagenavi doesn’t work on it. I’ve tried everything, but nothing works to add it to underscores. I read the instructions to replace the current navigation, but underscores uses a built-in wordpress function. Anyway to add wp-pagenavi to underscores???

Viewing 1 replies (of 1 total)
  • hyperember


    Hello, i had the same issue, when i found this article:

    The code is:

    <?php if(function_exists('wp_pagenavi')) { // if PageNavi is activated ?>
    <?php wp_pagenavi(); // Use PageNavi ?>
    <?php } else { // Otherwise, use traditional Navigation ?>
    <div class="nav-previous">
    <!-- next_post_link -->
    <div class="nav-next">
    <!-- previous_post_link -->
    <?php } // End if-else statement ?>

    Adding the code to functions.php worked for me. It is at the top left corner for me now, so i guess some further adjustments will be needed.

Viewing 1 replies (of 1 total)
  • The topic ‘WP-PageNavi to Underscores’ is closed to new replies.