WordPress.org

Forums

pagebar
Paginated Posts (6 posts)

  1. arstropica
    Member
    Posted 3 years ago #

    I noticed that navigation on paginated posts was not appearing so I modified the basebar class initialization method from:

    global $wp_query, $pbOptions; //line 46
    //
    //
    $this->max_page = is_singular() ? $numpages : $max_page; // line 49

    to:


    global $wp_query, $pbOptions, $numpages; //line 46
    //
    //
    $this->max_page = is_singular() ? $numpages : $max_page; // line 49

    http://wordpress.org/extend/plugins/pagebar/

  2. elizzz
    Member
    Posted 3 years ago #

    I had often run into the same thing.. To fix it, I simply use wp-nav-pagi plugin... it's simple and nice!

  3. Lutz Schröer
    Member
    Plugin Author

    Posted 3 years ago #

    I'm going to fix this in the plugins ASAP. Thanks for the hint!

  4. Lutz Schröer
    Member
    Plugin Author

    Posted 3 years ago #

    @arstropica: What version of WordPress and pagebar are you using? I can't reproduce the error with WP 3.2 and pagebar 2.59.

    @elizz: wp-pagenavi is a good solution if you want to have an advanced pagination for the blog page but it doesn't contain an advanced pagination for pages and comments.

  5. arstropica
    Member
    Posted 3 years ago #

    I used the same settings but with a custom theme that must be modifying the $wp_query object. Once I reverted to Twenty Eleven, the plugin ran flawlessly without my modifications.

  6. Lutz Schröer
    Member
    Plugin Author

    Posted 3 years ago #

    Currently I'm planning to do a new major release of pagebar which takes advantage of some new functions in WordPress. This release will take some time since I also want to include some new features for inexperienced and for advanced users (don't expect it this year).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • pagebar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic