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

Batch Plugin-Update in WordPress 2.9

In the past we have already informed you a little bit about the new features of the upcoming 2.9 version of WordPress - the development does not stop and the next version has many minor changes. Improvements in security, administration.

WordPress 2.9 will have the possibility to update all your Plugins, which have an update available, in one step.
That makes maintenance work with customer's and on your own blog more simple and faster. As a little insight, here is a screenshot of the current beta.

plugin-update-29

New Feature for WordPress 2.9 – WordPress Image Editor

wp-image-edit1

We already wrote about some new features, such as new filter and the Trash-function in WordPress. It has long been known that WordPress 2.9 will add some features for image editing - the users want these features, right in the core and not as a Plugin. You can get a first insight into the current development version. Since not everybody is working with it, here are some screenshots of the editor for images. The screenshots certainly speak for themselves:

wp-image-edit2

wp-image-edit3