Category Archives: WordPress

powerful improvements and tweaks for wordpress templates

73 | Integrate Pagination Plugins into Twenty Twelve

g+

The ‘next/prev’ posts links are done with a function in Twenty Twelve; twentytwelve_content_nav(). That function is pluggable, which makes it easy to change it in a child theme of Twenty Twelve. To integrate for instance the plugin ‘wp_pagenavi’, you would … Check the whole post »

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

71 | Mark Comments by Current User

g+

To highlight comments of the currenly logged-in user, add this plugin: Add a file with the above code into the /wp-content/plugins folder; activate the plugin under ‘appearance – plugins – installed plugins’; and add a corresponding style to the stylesheet … Check the whole post »

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

70 | Comments on the ‘Posts Page’ in WordPress

g+

If you are using a static home page and have set one of your other pages to be the ‘posts page‘ [Codex], then there is no direct way to allow comments on that page. You will need to do some … Check the whole post »

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

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

67 | Posts in Two Or Three Columns – Twenty Twelve

g+

If your index and archive pages are getting too long, or if you want to compact the information within those pages a little bit, for instance because the featured images above each post are just too large, consider to change … Check the whole post »

Posted in Tips & Tricks, Twenty Twelve, WordPress | Tagged , , , , , , , | 36 Responses

66 | Page-Of-Posts Template for Twenty Twelve

g+

Page templates are a good way of customising the layout of WordPress sites – and the Codex contains the example code of a ‘Page Of Posts’ page template for the current default theme Twenty Eleven. With the future default theme … Check the whole post »

Posted in Easy Coding for Wordpress, Tips & Tricks, Twenty Twelve, WordPress | Tagged , , | 9 Responses

65 | A Sidebar Template for a Page in the ‘One-Column’ Layout in Twenty Eleven

g+

This article describes the necessary coding to create a page template with a sidebar within a ‘one-column’ layout of Twenty Eleven; the example is for a right sidebar.
Create your own page template from a copy of the sidebar-page.php template; edit the Template Name; correct the coding in sidebar.php; adapt the body_classes in functions.php; set a max width for the template. Check the whole post »

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

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

63 | Sidebar on the Left – Twenty Twelve

g+

A quick fix to move the sidebar location in a child theme of Twenty Twelve; add these styles to style.css of the child theme: caveat: this simplified set of styles has some problems with the formatting of the widgets in … Check the whole post »

Posted in Tips & Tricks, Twenty Twelve, WordPress | Tagged , , , , | 11 Responses