Certainly not exactly what kind of behavior it should be either.


----- Original Message ----- From: "Devin Reams" <[email protected]>
To: <[email protected]>
Sent: Monday, May 24, 2010 4:52 PM
Subject: Re: [wp-testers] post-thumbnails


You can exclude via an argument to the gallery shortcode.

Thats true... if you're using the shortcode.

But if you've hard-coded a gallery into the theme, it's a bit trickier.

To avoid headache, in cases where a gallery is built into a template,
I simply don't upload the featured image to that post (so it's not an
attachement, ie: not in the gallery) and instead select it from the
"Media Gallery" after uploading it directly there.

Certainly, not ideal...

-- Devin ([email protected])



On Mon, May 24, 2010 at 12:28 PM, Peter Westwood
<[email protected]> wrote:

On 24 May 2010, at 10:18, Dion Hulse (dd32) wrote:

Thats correct, Post Thumbnails come from the Attached images to a post, & the inbuilt Gallery function uses the attached images as the gallery.

So the Post Thumbnail is a subset of the Gallery as a result.

It would probably be possible to exclude the post thumbnail from a gallery via a bit of code in your themes functions.php, but I'm not aware of what that'd entail.



You can exclude via an argument to the gallery shortcode.

Read up more here - http://codex.wordpress.org/Gallery_Shortcode

westi
--
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5

_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers


_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to