[wp-testers] Attachment Pages for Non-Standard Post Format Types

Chip Bennett 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.

Chip

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>
> wrote:
> > 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:
> for
> > my image.php, I display a sidebar of meta information, as well as
> > thumbnails/links to previous/next images in the "gallery" (images
> attached
> > 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.
>
> -Otto
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list