WordPress.org

Forums

WP Page Numbers
[resolved] Need to display page nav even if there's only one page (2 posts)

  1. loremipsum
    Member
    Posted 4 years ago #

    Page navigation works great when there's more than one page, but it disappears completely when on page 1 of 1. I'd like to keep some of the elements even if there's only one page, and possibly have them grayed out to indicate that they are disabled.

    How do I:
    - Display page_of_page (1 of 1)?
    - Display prev/next buttons with class "disabled" applied to them?

    Thanks!

    http://wordpress.org/extend/plugins/wp-page-numbers/

  2. loremipsum
    Member
    Posted 4 years ago #

    Nevermind, I figured it out :)
    Had to remove "if ( $max_page > 1)"

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Page Numbers
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic