Custom WordPress Login-Page

In a previous post I wrote about the possibility to adjust the login page in your WordPress backend. But I still receive a lot of questions about it and I would like to point out three simple ways, so that you can customize with little effort the login page to your site - a nice added value in terms of customer projects which makes it look more professional instead having always the WordPress logo and the link displayed.
Continue reading …

Post Formats – More Creative Ways For A Theme


First day of our Advent Calendar we show tiny code snippets and brief informations for the Post Formats from WordPress version 3.1.

Some theme authors wanted more defined formats - they wanted the feature "post formats". This new functionality will be available in WordPress 3.1 and displays an additional meta-information. The Codex for this functionality is available already, and now it's up to the theme authors to use this new feature.
Continue reading …

2nd Door Of Our Advent Calendar – Support in WordPress for rel=”canonical”

WordPress-Christmas-02
WordPress 2.9 will support the attribute rel and his value canonical, you can also read about it on an older post how to integrate the values and what's about it. Therefore you don't have to paste the HTML explicitly in your theme.

In previous versions of WordPress 2.9, the intergration is easy to do:

<?php if ( is_singular() ) echo '<link rel="canonical" href="' . get_permalink() . '" />'; ?>

Putting it in the header.php of the theme is the easiest way to have the link-tag in the head of your frontend.

Since WordPress 2.9 it won't be necessary because WordPress set with the help of the default filter, see wp-includes/default-filters.php, the link-tag to the hook wp_head.

add_action( 'wp_head', 'rel_canonical' );

Thereby it calls the function rel_canonical(), which simply writes the HTML and passes the link of the article. Alternatively you can disable the filter and you can use it yourself.

remove_action( 'wp_head', 'rel_canonical' ); // to delete in head