WordPress.org

Ready to get started?Download WordPress

Forums

How to hide page count bar when not needed (1 post)

  1. ksaad
    Member
    Posted 7 years ago #

    Hello, In search results or categories, a navigation bar which shows page counts. I'm trying to hide it if there are less than 7 posts for example. Because 6 is the number of posts per page I set in the CMS.

    Here's what happens when you get less than 7 posts.
    http://ksaad.weblogs.us/post/date/2006/02/

    That little dotted pink bar on top. It works perfectly when a category or a search result page contains more than 7 posts.

    I'm using the plugin PageNavi http://dev.wp-plugins.org/wiki/wp-pagenavi

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags