Sorry, second question in as many hours. I couldn’t see anything related to this question is the forums so would just appreciate a pointer…
I have a custom post (portfolio) within which I have various categories (landscapes, seascapes, and so forth). On my main page clicking on any of these categories takes me to a page which generates thumbnails for all the posts in that category. Clicking on any of these images takes me to the single-portfolio.php where I use your plugin — and it works perfectly at cycling through the images in each category.
However, on my main page I also have a “View All” link which generates ALL thumbnails in my ‘portfolio’ regardless of category. Clicking on an image from here will eventually use the same single-portfolio.php and so the previous/next post links will cycle through the category of whichever image I happened to click — not just the next one in that custom post.
Will try and solve this myself but since it must be a common issue I was hoping you might be able to give me a quick pointer to start me in the right direction?
Thanks once again.
- The topic ‘Adapting for a "View All" page’ is closed to new replies.