[theme-reviewers] Individual image in gallery navigation

Otto otto at ottodestruct.com
Sat Jul 20 19:33:06 UTC 2013


This is true, both previous_image_link() and next_image_link() are
going to point to images that are children of the parent post.
However, I'd still recommend including them in the image.php template
file, because navigation is always helpful.

I wouldn't say they're "required" though.

-Otto


On Sat, Jul 20, 2013 at 2:27 PM, Justin Tadlock
<justin at justintadlock.com> wrote:
> There shouldn't necessarily be links to other images in the gallery.  Right
> now, WordPress only provides a way to navigate between attachments to the
> particular post the image is attached to.  With the way the media system
> works now, there'll be images in galleries that aren't attached to the post.
> Therefore, there might not be any way to navigate between them when viewing
> the image attachment page.


More information about the theme-reviewers mailing list