Forums

Flickr Gallery
[resolved] "Next Page" button doesn't work when on home page (4 posts)

  1. TheIntruder
    Member
    Posted 11 months ago #

    I've added Flickr Gallery to my footer, displaying 6 images from my photostream. Everything works perfectly, with the exception of the NEXT PAGE button on my site's home page.

    If I'm on my home page (e.g. http://www.mydomain.com), and I click NEXT PAGE under the thumbnails, it reloads the home page and re-displays the same 6 thumbs it displayed before.... in other words, it doesn't advance to the next 6 thumbs.

    If, however, I'm on any other page of my site (e.g. http://www.mydomain.com/portfolio), NEXT PAGE works perfectly.

    It obviously has something to do with the fact that my home page URL is the root domain name. I've used this plug-in on other sites where the home page was http://www.mydomain.com/wordpress, and it worked fine. The fact that there's no subfolder seems to be creating the problem.

    Is there some sort of workaround to this issue? Thanks.

  2. alchymyth
    The Sweeper
    Posted 11 months ago #

    ideally, the 'Flickr Gallery' should not effect the pagination (?).

    only a guess:
    as a temporary fix, try to add wp_reset_query(); before your 'next/prev posts' code.

    if you are using a custom query for the gallery, try to include the pagination parameter:
    http://codex.wordpress.org/Class_Reference/WP_Query#Pagination_Parameters

    a link to your site might get you more suggestions

  3. TheIntruder
    Member
    Posted 11 months ago #

    Thank you for your reply. I'm using the plug-in "Flickr Gallery" to display thumbnails of my Flickr stream in my theme's footer. I am not familiar with code... I just installed the plug-in and followed the directions. Everything works fine, except on the home page.

    My site is here.

  4. TheIntruder
    Member
    Posted 11 months ago #

    Figured it out.... one of the scripts that came with my WP theme had gotten corrupted somehow. I uploaded a fresh copy of the corrupt script, and everything works now. Weird.

Reply

You must log in to post.

About this Plugin

About this Topic