I see how to use the link_to_next_item or link_to_previous_item can be used to link to the next/previous item in the entire archive. But, is there a way to link to the next/previous item in the collection and avoid items that aren't in that particular collection? I'm pretty weak at php so any guidance would be much appreciated. Thanks!!
Forums » Themes and Public Display
Next Item in Collection
(2 posts)-
-
Right now, link_to_next_item() and link_to_previous_item() don't know about how you found a particular item. Which is to say, next/previous runs through the whole archive and isn't based on a particular collection or tag, etc. That might be a good thing to add in a future release, but it would also work as a plugin.
Reply
You must log in to post.