Twitter seems to continue to gain in popularity and one or the other has even completely move - not a blog anymore, only an address in Twitter.
After going through my subscriptions in my feed reader, I noticed several articles where one or the other Plugin was recommended, which place a Twitter button to recommend an article on your Twitter. Most Plugins have a function that takes place in the template of the integrated theme.
As so often, this is a little exaggerated, and as in the past with the inclusion of links to social bookmark services, there is also a simple solution with the help of a function in the WordPress core.
Template Tag body_class
The coming WordPress 2.8 provides a new Template Tag, body_class. This function gives the body element different classes, which gives you the possibility to use it effectively with CSS.
<body <?php body_class(); ?>> </body>
WordPress is sometimes not only in use as a blog platform, also as CMS application or for a presentation of photos or other purposes. Many times you like to have a different design depending on the purpose of your WordPress blog within your website. Thus, most of the photo blogs having a different design than the weblog.
In fact you can achieve that quite easily and do not always need to create an extensive query in your template or even a different installation of WordPress setup. You can also deal with the following solution, giving you a better overview of the separate themes. With this solution you have many possibilities to implement individual designs.
Continue reading …
In Version 2.5 Template Tag
wp_title got an update, therefore Plugins became useless for that.
By the way, the code came from the Plugin „Optimal Title“.
title tag is in the header, therefore in
header.php . The following syntax works in all WP-versions, but it's not a perfect way for WordPress higher than 2.5. I will show you a perfect title tag for WordPress 2.6 and higher. Continue reading …