Wouldn’t it be nice to see the current tags reflected in the tag cloud widget? WordPress does not output any css classes for the current tags – … [ view full article ]
Wouldn’t it be nice to see the current tags reflected in the tag cloud widget? WordPress does not output any css classes for the current tags – … [ view full article ]
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 … [ view full article ]
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 … [ view full article ]
A set of miniature comfy chairs and table for Teddy to relax into – or for your favourite American Girl ™ doll to invite a friend over for a game … [ view full article ]
The ‘featured image’ in WordPress automatically outputs the image alt attribute, but no title attribute. Those two attributes are used for … [ view full article ]
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 … [ view full article ]
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’ … [ view full article ]
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 … [ view full article ]
Somebody asked today, how to insert a ‘featured image’, aka post thumbnail, into the content of a post. Obviously this cannot be done with … [ view full article ]
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 … [ view full article ]
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 … [ view full article ]
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() … [ view full article ]
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 … [ view full article ]
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 … [ view full article ]
The Codex has a chapter on how to add new widget areas (commonly referred to as ‘sidebars’) to a theme’s template: ‘Widgetizing … [ view full article ]
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 … [ view full article ]
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 … [ view full article ]
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 … [ view full article ]
Often asked question – simple solution:
As always – create a child theme to work with – do not edit Twenty Eleven directly.
Edit header.php in the … [ view full article ]
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 … [ view full article ]