I currently have a photoblog "Theme: Reflections http://photoblog.xyloid.org/reflection/" which displays each entry as a single post containing one image. I have tweaked archive.php so that I can display thumbnails with links for all images in either a relevant category or tag
The problem lies in that once I view a particular post tagged as (lets say) 'XYZ', how do I query the next post or previous post links which have the same tag 'XYZ'?
For categories, I can use get_next_post(true) or get_previous_post(true) to get the next and previous post in the same category however there isn't any direct implementation for doing this with tags.
Could someone point me in the right direction for implementing this? I really can't figure out what functions I might have to play with so as to get the next and previous post under the current tag.