WordPress.org

Ready to get started?Download WordPress

Forums

File Gallery
[resolved] Pagination links not working (4 posts)

  1. satdaya
    Member
    Posted 3 years ago #

    Check out the media gallery at bottom of this page:

    http://chuckbairdfoundation.org/?portfolio_item=warrenmiller#

    Click on page 2 on the pagination. Not working... help?

    Thanks! :-)

  2. Azizur Rahman
    Member
    Posted 3 years ago #

    @satdaya I have just visited the page but could not see the "Page 2" link you are talking about. Have you got this issue fixed?

  3. satdaya
    Member
    Posted 3 years ago #

    Hi,

    Because it was not working, I edited it to show all photos on first page. I just changed it to show only 5 photos at a time so you can see the pagination links aren't working. Now you can see it not working.

    This is the shortcode:

    [gallery tags="warrenm" tags_from="all" link="file" link_size="large" linkclass="thickbox" limit="5" paginate="true" orderby="rand" columns="5"]

    Thanks!

  4. Aesqe
    Member
    Plugin Author

    Posted 3 years ago #

    @satdaya: I'd say that the problem is in your 'js.js' file on line 47, where it says:

    $j("a[rel^='prettyPhoto'], .prettyPhoto, .gallery a").prettyPhoto({

    try changing that to something more specific, like this:

    $j("a[rel^='prettyPhoto'], .prettyPhoto, .gallery-item a").prettyPhoto({

    because '.gallery a' selector catches the pagination links too ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic