Category Archives: WordPress

powerful improvements and tweaks for wordpress templates

62 | 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 , , , , | 4 Responses

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

60 | Show Page Title and Content of the ‘Posts Page’ in WordPress

g+

When you set a static front page and at the same time set a Posts Page, WordPress will automatically use index.php (or home.php *) to display the Posts Page; as described in the Codex, you’ll lose the output of the … Check the whole post »

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

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

58 | Advanced Filter for Tag Cloud Widget Css Classes

Advanced Filter for Tag Cloud Widget Css Classes
g+

The default tag cloud widget does not offer a lot of formatting possibilities, partly because it only outputs one css class with a reference to the tag ID. It uses an inline style, which outputs the font-size, to distinguish the … Check the whole post »

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

57 | Editing Widget Parameters per Filter Function WordPress

g+

If you want to change the parameters of the default widgets, for instance the font sizes of the tag cloud widget, you will notice that you can’t access the codes directly. Editing the core files in the /wp-includes folder is … Check the whole post »

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

56 | Adding a Custom Widget Area to a WordPress Template

g+

The Codex has a chapter on how to add new widget areas (commonly referred to as ‘sidebars’) to a theme’s template: ‘Widgetizing Themes‘ This example here is to give you the direct code to add to functions.php and to the … Check the whole post »

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

55 | Custom Web Site Design and Programming

Custom Web Site Design and Programming
g+

I am building web sites for quite a few years now, and want to present a web site I programmed in static xhtml a while ago: kunstaufseide.com. This is a German language site promoting colourful artwork. Semi-integrated into this site … Check the whole post »

Posted in Web Design, WordPress | 2 Responses

54 | Adsense Ad at Random Position in a Posts Page

g+

This code is made to output an adsense ad (or any other block of output) at a random position within the loop, with the restriction to a preset number of possible positions. Thanks to the tutorials of http://www.php.net/ …

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

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