50 | Twenty Eleven – New Page Template with Sidebar Correction

g+

If you are creating a new page template for a child theme of Twenty Eleven, with a sidebar, you need to correct the body_class output to remove the css class .singular. Add this to functions.php of your child theme: If … Check the whole post »

Posted in Tips & Tricks, Twenty Eleven | Tagged , , | 17 Responses

49 | WordPress Post Thumbnails with Caption

g+

GREAT NEWS: since wp4.6, WordPress has just the right function for featured image captions: https://developer.wordpress.org/reference/functions/the_post_thumbnail_caption/ This is a tidying up of a WordPress support forum topic – nothing really that I came up with myself. The question is how to … capture it all … »

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

48 | Mini SEO – a Meta Description Field for Posts and Pages

meat description input field
g+

Modern search engines do not rely on meta descriptions and meta keywords anymore for your ranking. However, they do preferably show a proper added meta description instead of the first few words of the post or page. If you can … Check the whole post »

Posted in Tips & Tricks, WordPress | Tagged , , , , | 12 Responses

47 | Page Template Sidebar Overwrite Theme Options in Twenty Eleven

Page Template Sidebar Overwrite Theme Options in Twenty Eleven
g+

Twenty Eleven already comes with a page template to add a sidebar to static pages. However, this sidebar will always be on the same side as the sidebar on the front  page, ruled by the ‘theme options’. On some pages, … Check the whole post »

Posted in Tips & Tricks, Twenty Eleven, WordPress | Tagged , , , , | 8 Responses