Tag Archives: featured image

77 | Featured Image in Header of Archive Pages in Twenty Eleven

g+

To show the ‘featured image’ of the top post as header image in an archive page in the Twenty Eleven theme, edit header.php in the child theme; change this section: to:

Posted in Easy Coding for Wordpress, Twenty Eleven, WordPress | Tagged , , , | 4 Responses

68 | Title Attribute for Post Thumbnail

Title Attribute for Post Thumbnail
g+

The ‘featured image’ in WordPress automatically outputs the image alt attribute, but no title attribute. Those two attributes are used for different reasons: – the alt attribute is used to output alternative information if the image is inaccessible, for instance … Check the whole post »

Posted in Tips & Tricks, WordPress | Tagged , , , , , , | 1 Response

64 | Insert the Featured Image into the Post Content with Shortcode

g+

Somebody asked today, how to insert a ‘featured image’, aka post thumbnail, into the content of a post. Obviously this cannot be done with the usual WordPress function ‘the_post_thumbnail()’ as the php code would not get rendered in the post’s … Check the whole post »

Posted in Easy Coding for Wordpress, Tips & Tricks, WordPress | Tagged , , , , | 3 Responses

61 | Show Description for Header Images in Twenty Eleven

Show Description for Header Images in Twenty Eleven
g+

This code is for a child theme of Twenty Eleven, because the direct editing of the default theme is not recommended. Since wp3.4, the function get_custom_header() takes care of some of the information of the header images, such as width, … describe it all … »

Posted in Tips & Tricks, Twenty Eleven, WordPress | Tagged , , , , , , , | Leave a comment

52 | WordPress Post Thumbnails with Caption

g+

This is a tidying up of a WordPress support forum topic – nothing really that I came up with myself. The question is how to post the caption with a post thumbnail, aka featured image, in an ordered way. This … capture it all … »

Posted in Easy Coding for Wordpress, WordPress | Tagged , , , , , | 5 Responses