WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] Pagination stopped working after update to 3.5 (4 posts)

  1. Webtaurus
    Member
    Posted 1 year ago #

    After updating a website to 3.5 I created a new gallery, everything worked as expected... except that the pagination did not work for the new gallery.

    After wasting a bit of time it occurred to me that flushing the permalinks might help. And yes it did :-)

    So if you run into the same problem hopefully you will not need to spend the time on it that I did.

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. luvavell
    Member
    Posted 1 year ago #

    hi I'm having the same problem with my pagination after updating to 3.5 yesterday. Sorry, I'm not techy, how to I flush permalinks?

  3. unifiedac
    Member
    Posted 1 year ago #

    I solved this by not using query_posts() at all. Simply use the regular Loop ( if have_posts(), while have_posts(), the_post()) and use the WP Paginate plugin. I then set the number of posts on each category page using the Settings->Reading menu.

  4. unifiedac
    Member
    Posted 1 year ago #

    You could also try this:

    $posts = query_posts($query_string .
    '&orderby=title&order=asc&posts_per_page=-1');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags