53 | Numbering Posts


To give posts a continuous number in index pages or archives, try this little piece of code: Place it within the loop; condition: needs to be adjusted for any custom query.

Posted in Easy Coding for Wordpress | Tagged , | 3 Responses

51 | Twenty Eleven – New Page Template with Sidebar Correction


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

50 | WordPress Post Thumbnails with 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 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