wordpress 29 admin area 300x231 AtA upgrades to Wordpress 2.9 today.

I have learned my lesson some time back and now keep my wordpress updated as quickly as a day after release. We have a mirror site for testing first and I can announce safely that the automatic upgrade works nicely and without a hitch. There are a bunch of new features, security improvements and overall speed enhancements.

Batch Plug-in Update in Word Press

When Word Press introduced one click upgrade for pluggins, it was like Christmas in July. But this time maybe on the actual Christmas or perhaps slightly earlier with the release of Word Press 2.9, we will now be able to upgrade multiple pluggins with one click from our WordPress Admin Panel.Optimize/Repair Database Functionality

WordPress has added a new feature to the core which allows you to repair and optimize your database. In order to activate this function, you will need to add this line in your wp-config.php

define(‘WP_ALLOW_REPAIR’, true);

Once you have added it, you will now be able to run the script which is located at this URL:

http://www.yoursite.com/wp-admin/maint/repair.php

WordPress Recycle Bin / Trash

Regardless of whether you are a PC user, or a Mac user, we have all had moments when we accidently deleted something really important. But good thing about the operating systems is that they have something where our trash is stored at. In PC its called a recycled bin, and in Mac it is called the Trash, regardless of what it is called, the fact that we can restore it is what matters. WordPress has now added a similar functionality for the posts, pages, and the comments. Instead of permanently deleting these, you can now trash it and then later on empty the trash once you are completely done with what you were doing. By default WordPress will empty the trash every 30 days, but you can change the time limit by simply entering the following code in your wp-config.php:

define( ‘EMPTY_TRASH_DAYS’, 10 );

Image Editor

The image editor is something that a lot of users were waiting for and it is included in this release. This editor will let you make simple changes such as cropping, rotating, scaling, etc.

Ability to add Post Thumbnails

You have probably seen many sites displaying posts on the homepage with a post thumbnail. Or many sites having the post thumbnail next to each post in their index. Before version 2.9, it was done through custom fields. In this release, you can simply add the thumbnail when writing the post and displaying it in the template is even easier.

In order for you to have this functionality available in the admin panel, you must have a theme that supports this function. It is really simple to add support for this feature and we will have a full tutorial on this coming up soon. You will need to visit your theme’s functions.php and add the following code:

add_theme_support( ‘post-thumbnails’ );

Once you choose the thumbnail, you can display it on the template using the following code:

We will be posting a full guide for this function very soon because it is a very useful feature.

Extend User Contact Info

WordPress user profile page is quite old and many new networks have gain popularity such as twitter and facebook. Prior to version 2.9, it was really hard to add a custom field in the contact area, but thanks to Joost De Valk for his contribution, now this feature is available.

Simply open your functions.php and add the following function:

function my_new_contactmethods( $contactmethods ) {
// Add Twitter
$contactmethods['twitter'] = ‘Twitter’;
//add Facebook
$contactmethods['facebook'] = ‘Facebook’;

return $contactmethods;
}
add_filter(‘user_contactmethods’,'my_new_contactmethods’,10,1);
?>

This will add extra fields in your user profile pages.

You can display these on author profile page by using the normal $curauth variable or the_author_meta variable. We will also be writing about these in the near future to explain full details how this function works.

New Excerpt Filter

Up till WordPress 2.8.6, when the user add the_excerpt code in the loop, it would display content with a 55 word limit and once the word limit was reached, it would add [...]. With this new ability, You can now specify a function and control both excerpt word count, and the more text. All you have to do is open your theme’s function.php file and add the following code:

// Changing excerpt length
function new_excerpt_length($length) {
return 60;
}
add_filter(‘excerpt_length’, ‘new_excerpt_length’);

// Changing excerpt more
function new_excerpt_more($more) {
return ‘…’;
}
add_filter(‘excerpt_more’, ‘new_excerpt_more’);

All thanks goes to Ramiy for suggesting this feature.

oEmbed making Embedding Easier

Thanks to ViperBond007 that this feature was added to the core of WordPress 2.9. It is a specification that allows media providers like Flickr, YouTube and others to provide data for consumer applications like WordPress about media.

There are many many more features that are being included in this version. To see a full list check out this page.

Don’t hesitate and do your part for the community. Download the Release Candidate from this Link and start testing out all the features, so this version can be released even faster.

 

 [Via WP-Beginner]