get_children() returns ALL attachments instead only those attached to ‘post_parent’
hat I do: in my template that I use to display posts within the standard loop, I make a call to above function: fs_gallery_featured_thumbs( $post->ID ) (originally I used the_ID() instead of $post->ID which gave me trouble. I guess bescause the_ID() actually echoes the ID, rihgt?). Exactly. The problem isn’t in your function itself, but … Read more