Upgrading to Wordpress 2.7
It seems like there is a new Wordpress version every few months. This is great from one perspective i.e. we get great new features and it just keeps getting better. However, seeing from the other end of the spectrum it also means that we have to upgrade and make changes to our theme and make sure there are no broken plugins.
My last version was WP 2.5.1 and I finally upgraded to 2.7 last night. It was more or less a painless task since all of my plugins still work with 2.7. At most I had to update them via the one-click plugin update (it is more like 2 clicks but who’s counting
).
However, it did require some changes in my theme. I could have lived without these changes as my theme did not break … I just wanted some of the new features to work.
So here’s the low down on some of the main changes in Wordpress 2.7 and how to deal with them:
Admin Interface
This has to be the biggest and best change yet. The admin interface has improved threefold. It is so much easier to get to the section you want to open. It is just faster and easier to use not to mention it looks great.
Dashboard Changes
Personally I always thought the dashboard real estate was always wasted. Not anymore. It now displays a hoard of important info including recent comments, drafts, statistics, etc and also lets you add a quick post directly from the dashboard.

Write/Edit Posts and Pages
You can now choose the boxes you want displayed on these pages as well as drag them around to suit your preference.

Posts Index
You can choose which columns to display. Mouse over a post to display menu options like Edit, Quick Edit, Delete, View.
Quick Edit brings up some basic editing options for the post. Among other things you can change categories, add tags, edit the title, slug, etc as well as make a sticky post.

Sticky Posts
As mentioned above, the quick edit option lets you mark a post as sticky so it stays at the top of your blog. However, one small change needs to be made to your theme regarding this.
Find your post loop in index.php, archive.php, category.php. Look for the starting div … something like this:
<div id="post-<?php the_ID(); ?>" class="post">
Change this to:
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
You can also add one or multiple classes to this as follows:
<div id="post-<?php the_ID(); ?>" <?php post_class('class1 class2'); ?>>
The classes need to be separated by a space.
Better Comment Management
There are a lot of improvements related to comments. Not only can you perform bulk actions like marking as spam, deleting, etc, but you can finally reply to comments from within the WP admin interface. About time this feature got added. The only thing I miss is a threaded reply feature here.
A menu pops up when you mouse over a comment giving you the option to reply, edit, delete, etc.

Threaded Comments and Comment Pagination
These two much needed features have been added to the core WP installation. No need for plugins to do either.
Go to settings and then discussion. Here you will find the option to set pagination and threading on along with the settings. You can choose the number of comments to display as well as how deep the threading should go.
Now for the harder part. These two features require a change in your comments.php file. This is all you need to display your comments:
<div class="navigation">
<div class="alignleft"><?php previous_comments_link() ?></div>
<div class="alignright"><?php next_comments_link() ?></div>
</div>
<ol id="commentlist">
<?php wp_list_comments('type=comment'); ?>
</ol>
<div class="navigation">
<div class="alignleft"><?php previous_comments_link() ?></div>
<div class="alignright"><?php next_comments_link() ?></div>
</div>
You also need to add this line to your header.php file:
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
This is just the basic comment code which works with pagination and threading. You can style the basic code or add a call back function for extreme styling or in other words your own custom comment design.
I will try and cover that in another post.
Logout
If you have a logout option in your theme, make sure to replace the logut url with:
<?php echo wp_logout_url(get_permalink()); ?>
So these are…
…some of the changes in WP2.7. The goods news is that your old theme from WP 2.6 and 2.5 will still work as will most of the plugins. You only need to make the changes if you want to add the new comment features.
Tags: All Things Wordpress, Upgrading Wordpress, Wordpress 2.7, WP 2.7 Changes

95% Of Your Minisite Design Done For You--INSTANTLY?
This is a complete solution! We're Talking Full Blown Graphics--From Top To Bottom--At A FRACTION Of What You Would Pay A Designer! Find out more.
Related Posts
- Upgrading to Wordpress 2.6
I finally upgraded to Wordpress 2.6. I first installed it locally to... - Wordpress Updated
I finally took the plunge and upgraded this blog to WP 2.5.1... - Wordpress 2.6 Has Been Released
While I was busy designing his blog, my friend Rob beat me... - WordPress 2.6.2
I’ve had that annoying yellow bar telling me to upgrade to WP...





Bratwurst Recipes says:
On January 3rd, 2009 2:25 pm
I love the new wordpress 2.7, in fact I love every new version of wordpress that comes out, and guess what they are already working on 2.8!! Man.. i wish all products were like that, constantly upgrading and getting better
Till Then,
Jean
Blog Post: Easy to make grilled Beer Brats
Erum Munir says:
On January 17th, 2009 4:53 am
Oh yes, Wordpress has come a long way. And it is amazing the way it is constantly being improved and upgraded. Seriously hats off to the Wordpress team.
I haven’t seen paid scripts improve so much and the fact that this is free makes it all the more commendable.
Dr.best from hosting says:
On January 5th, 2009 5:23 am
I use Wordpress as well and I think the 2.7 control panel was a world better,I personally think It was revolutionary and innovative and most importantly easy to use and deploy.
marianne from elemis says:
On January 14th, 2009 2:59 pm
I’ve just found your excellent blog. You have some really useful articles in here – so I shall be back for another read when I get back from work. Keep it coming…
Spot from inexpensive HDTV says:
On January 17th, 2009 12:21 am
I really like the new functionality of 2.7. But I have some serious mixed feelings about the left hand navigation. I’m not sure I like having to scroll down for things I used to have right there up at the top of the screen.
Blog Post: Flying Cars Ready For Take Off
Erum Munir says:
On January 17th, 2009 4:50 am
I see what you mean. But I’m finding the AJAX based menu so much easier to use as the sub menus are visible at the click of a button without reloading the page.
Chelle from Lose Weight for Free says:
On January 23rd, 2009 10:32 am
I upgraded 2 of my sites to 2.7 to test it out…but the rest of mine are still running 2.6. There’s a couple of bugs I’m having issues with on the two sites I upgraded and until I get that straightened out don’t want to have the same problems on all of the sites.
The new interface though is pretty nice, makes it a little easier to get straight to things…I’m sure if all of my sites were upgraded I’d be used to it and loving it more
Blog Post: You Can Be The Biggest Loser
Erum Munir says:
On January 23rd, 2009 8:13 pm
What kind of bugs? Plugin issues?
Polly says:
On March 10th, 2009 11:44 pm
This is great post. Thanks for sharing.
Womens Air Jordans says:
On March 24th, 2009 3:12 am
Thanks using it i upgraded mine it works well
thanks
Tanya from Frisco Tx Homes says:
On April 26th, 2009 6:01 pm
I remember when blogging was much easier. Looking at this new download and all of the things you can do now, give me a tired head…
Erum Munir says:
On May 1st, 2009 2:58 am
…and we are up to 2.7.1 now. But the great thing is that you can now automatically upgrade WP by just clicking a link. This has made the whole process so much simpler. And you gotta agree the tons of new features are great
mr_rook says:
On June 25th, 2009 11:05 am
I wish it was that easy… Instead, you click a link and what you get is a whole bunch of plugin incompatibility issues. That’s why I don’t intend to upgrade to 2.8 yet.
By the way, the comment form you’re using is cforms or WordPress default? And where are the funny avatars coming from?
Erum Munir says:
On June 26th, 2009 12:03 am
The comment form is the default Wordpress one. The avatars are now an option in Wordpress that you can turn on.
gilbert from train horns says:
On May 5th, 2009 3:54 pm
This is a great upgrade for WP..it really helps the blogger customize wordpress easier for better and nicer blogsite..
engineer says:
On June 21st, 2009 1:14 am
I do prefer to upgrade to new version only after few months after release, to avoid all silly-stupid bugs and similar problems…
Erum Munir says:
On June 25th, 2009 11:26 am
True. It is best to wait a while so not only do the bugs get ironed out but all the plugins get updated to work with the latest version, too.
Management Mentoring says:
On August 10th, 2009 11:49 am
Great post. Are you planning on posting a similar post for version 2.8.3?