• Looking into adding an additional style to the_post_thumbnail(); my understanding is it overrides the existing style instead of appending to it. Is there not a way to add an additional style to it or does it replace the style when coding the_post_thumbnail(array('class' => 'foobar'));? From the codex it looks like I should code as such: the_post_thumbnail( $medium, array('class' => 'foobar'));?

The topic ‘the_post_thumbnail(); style question’ is closed to new replies.