WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
wp-pagenavi missing on category pages (4 posts)

  1. sweetrobot
    Member
    Posted 3 years ago #

    I'm using a theme which has the plugin built-in (http://templatic.com/demos/ecommerce/?page=store)

    As you can see, the navi shows up on the link above. However, on the demo site, as well as on my own, the navigation does not show up on any CATEGORY pages.

    In the Reading setting for WP, I have set display to 6 posts (6 products in this case). When I click on a category with more than six posts, only 6 show, and no navigation pages are shown. Looking at the source with firebug, I see there is no pagination div inserted when viewing a category page:

    <div class="pagination">
    
                     <div class="Navi"><strong class="on">1</strong> <a href="http://shop.dearearth.net/?s=neck&x=0&y=0&paged=2">2</a> <a href="http://shop.dearearth.net/?s=neck&x=0&y=0&paged=2"><strong>ยป</strong></a></div>
                </div>

    Any clue how I can add so that the navi code is included in category pages?

    Thanks!

    P.S. I have sought help from the template provider, but they redirected me here.

  2. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    Make sure you have <?php wp_pagenavi(); ?> in the category.php file of your theme.

  3. sweetrobot
    Member
    Posted 3 years ago #

    there is no category.php.. i did look, attempting to figure out what template file lays out the category pages, but am unsure..

    pic of the template root if any use - http://i56.tinypic.com/2rpwnk7.jpg

    please let me know if you have any ideas... for example, if i coudl search for any sting which will help me identify which file i should be working with to add the navi to.

    thanks.

  4. atali
    Member
    Posted 2 years ago #

    @sweetrobot

    check in your archive.php

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic