Align Images without CSS

Place this within the single.php template to grab the Featured Image and format it automatically inline with the content.

the_post_thumbnail('large', array('class' => 'alignright'));

This can also be used in the loop with alongside posts with featured images.

Leave a Reply

katherine as a flat graphic icon

About Me

I’m an African / Ojibwe First Nations Web Developer living in Winnipeg, Manitoba.

Visit the Tips and Blog to see what I’m working on.