[wp-testers] Attachment Pages for Non-Standard Post Format Types
chip at chipbennett.net
Tue Jan 11 19:26:21 UTC 2011
I'm not using adjacent_image_link... I'm using a heavily modified hack of
the image handling in Matala.
On Tue, Jan 11, 2011 at 1:19 PM, Otto <otto at ottodestruct.com> wrote:
> On Tue, Jan 11, 2011 at 2:10 PM, Chip Bennett <chip at chipbennett.net>
> > It's easy enough to work around using get_post_format( $post->post_parent
> > but to give you an idea of the use case that made me ask the question:
> > my image.php, I display a sidebar of meta information, as well as
> > thumbnails/links to previous/next images in the "gallery" (images
> > to the parent post). But, for an "image" post format type, the image
> > attachment will (should?) always be an only child, so I don't want to
> > display the thumbnails/links to previous/next images.
> Is that even necessary? adjacent_image_link doesn't create output when
> there's no prev or next image.
> wp-testers mailing list
> wp-testers at lists.automattic.com
More information about the wp-testers