Timeline for page template for attachement page?
Current License: CC BY-SA 2.5
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 4, 2011 at 20:02 | comment | added | goldenapples |
@Chip and @Andy - No, no reason at all. I've never had to use the is_attachment() conditional, but you're right, thats a better approach. It should be available from much earlier, whereas $post->post_type is only available in the Loop.
|
|
Apr 4, 2011 at 19:59 | comment | added | Chip Bennett |
Creating gallery navigation links (using thumbnails) isn't difficult. Take a look at attachment-loop.php in TwentyTen. Also, any reason not to use is_attachment() , rather than $post->post_type == 'attachment' ?
|
|
Apr 4, 2011 at 19:47 | history | answered | goldenapples | CC BY-SA 2.5 |