Category Archives: WordPress

powerful improvements and tweaks for wordpress templates

73 | WordPress Changing Pluggable Functions Without Child Theme

g+

A new concept (?) – to change a pluggable function of a WordPress theme without creating a child theme. Example – to remove the  post tags output from the posts of Twenty Twelve. Often, these things can be done by … Check the whole post »

Posted in WordPress | Tagged , , , , | Not open for comments

72 | Linking or Enqueuing Stylesheet in WordPress Themes

g+

There are several ways of adding a stylesheet to a WordPress theme; examples: A: linking the stylesheet (in the head section of header.php) – linking the main stylesheet style.css: or – linking another stylesheet custom.css: B: enqueuing the stylesheet (in … Check the whole post »

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

71 | 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 , , , , , | Not open for comments

69 | 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 , , , , , | 1 Response

68 | 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

66 | 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

65 | 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

64 | 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

63 | 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 , , , , , , , | 6 Responses