Themes

Mastering Your WordPress 2.7 Theme & Admin Area: Tips and Tricks

December 14th, 2008

Lot of news flying around about the release of WordPress 2.7, featuring new Administration Panel interface to make WordPress more usable and accessible. Significant features and redesigns was added to WordPress 2.7 to make blogging on the new Dashboard Panel more valuable than ever.

You may find your Themes no longer work the way you are used to. It could be that they might be broken, because something in WordPress that was fundamental to them changed, but it’s also possible that you can get them working again by updating some settings, or maybe just a small edit.

This post will highlight WordPress 2.7 HOW-TO get your theme working again by updating some settings and represent some of the best and significant features added to your Administration Panel.

So let’s get started and don’t forget to subscribe to our RSS-Feed and visit my twitter page : nourayehia if you want to follow to keep track on our next post.

1. Enhancing your WordPress 2.7 Theme

1.1. Enhancing Comment Display – Threading, Paging, etc.

WordPress 2.7 includes a lot of new enhancements, but one of the big ones is the new comment functionality. Comments can be threaded, paged, etc. Making your theme’s comments compatible with WordPress 2.7 should be your first step when you edit your theme files. Otto has written a detailed post on the new comment enhancements in WordPress 2.7.

For details on how to update your theme to take advantage of these new features, please see the Enhanced Comment Display article.

WordPress 2.7 Theme & Admin Area


1.2. Make this post sticky

Previously we had to use a plug-in to place a post at the top of the front page for posts and keep it there after new posts are made. With WordPress 2.7 you are now able to do this by just selecting a check box in your admin area > Edit Post > Publish panel > Visibility: Public and click edit.

WordPress 2.7 Theme & Admin Area


1.3. Post Classes

Previously we used the code below to wrap a div around each post with a class=“post�

<div id="post-<?php the_ID(); ?>" class="post">

With WordPress 2.7 a new function for post classes is included, which will help theme authors perform simple styling and formating for the post area.

<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

The new function is post_class(), where you will be able to to add your own classes as well.

<div id="post-<?php the_ID(); ?>" <?php post_class('style'); ?>>

The out put of this function is

<div class="post sticky hentry category-icons style" id="post-5966">

This will add a number of classes to the div: post, category-slug, tag-slug, class ’sticky’ (if this post was marked as sticky from the admin area as mentioned in the previous point) and your specified class name.

1.4. wp page menu

Template Tag wp_page_menu acts as a wrapper for wp_list_pages, displays a list of WordPress Pages as links and support for Home page.

Because wp_page_menu() acts as a wrapper for wp_list_pages(), all of the wp_list_pages() parameters can be used with this Template Tag.

The following example causes “Home” to be added to the beginning of the list of Pages displayed. In addition, the Pages wrapped in a div element, listed under the title, “Page Menu”, and Page IDs 5, 9, and 23, are excluded from the list of Pages displayed.

<?php wp_page_menu('show_home=1&exclude=5,9,23&menu_class=page-navi&title_li=<h2>' . __('Page Menu') . '</h2>'); ?>

The output is something like this, where you will be able to have a complete control on styling the menu item and styling the menu item of the current page

<div class="page-navi"><ul><li><a href="http://www.noupe.com">Home</a></li><li class="page_item page-item-10 current_page_item"><a title="About Noupe" href="http://www.noupe.com/about">About Noupe</a></li><li class="page_item page-item-43"><a title="Advertise" href="http://www.noupe.com/advertise">Advertise</a></li><li class="page_item page-item-1374"><a title="Noupe Archive" href="http://www.noupe.com/archive">Noupe Archive</a></li></ul></div>

When you check the HTML output you will see “current_page_item� class name added to current menu item.

1.5. Logout Link

wp_logout_url is a new template function for WordPress 2.7, this will redirect the user who has logged out back to the page where the link was clicked.

<a href="<?php echo wp_logout_url(); ?>">Logout</a>

2. New Admin Area Features

2.1. Keyboard Shortcuts for browsing and moderating comments

the ability to use keyboard shortcuts to browse and moderate comments was introduced. These keyboard shortcuts are designed to save time by allowing you to rapidly navigate and perform actions on comments.

Keyboard shortcuts are enabled by visiting the Profile panel in Administration > Users > Your Profile. Check the Keyboard Shortcuts checkbox to enable keyboard shortcuts for comment moderation.

  • Pressing j moves the current selection (light-blue background) down.
  • Pressing k moves the current selection (light-blue background) up.
  • Pressing a approves the currently selected comment.
  • Pressing s marks the current comment as spam.
  • Pressing d deletes the current comment.
  • Pressing u unapproves the currently selected comment, placing it back into moderation.
  • Pressing r initiates an inline reply to the current comment (you can press Esc to cancel the reply).
  • Pressing q activates “Quick Edit” which allows for rapid inline editing of the current comment.
  • Pressing Shift-a approves the checked comments.(perform an action on multiple comments at once)
  • Pressing Shift-s marks the checked comments as spam. (perform an action on multiple comments at once)
  • Pressing Shift-d deletes the checked comments.(perform an action on multiple comments at once)
  • Pressing Shift-u unapproves the checked comments. (perform an action on multiple comments at once)
2.2. Reply to and Edit comments from Admin Area

WordPress 2.7 Theme & Admin Area


Now you have the ability to reply to your user’s comments from the admin and edit comments right from the your comments admin area. A Popup reply form apears when “Reply” link is clicked, your reply is submited by AJAX.

2.3.- Edit comments from Admin Area

WordPress 2.7 Theme & Admin Area


Now you have the ability to reply to your user’s comments from the admin. A Popup reply form apears when “Reply” link is clicked, your reply is submited by AJAX.

2.4. Allow plugin installations via web interface from Admin Area

WordPress 2.7 Theme & Admin Area


The plugin installer allows for installing plugins from the WordPress Administration panels. You can search for plugins by tag, plugin author, or by subject.

WordPress 2.7 Theme & Admin Area


It also lists the featured, most popular, and recently added and updated. When you click on the title of a plugin, you can see the details and choose to install it into your WordPress plugin list.

2.5. Admin’s new Navigation Menu

WordPress 2.7 Theme & Admin Area


One of the best features of the new WP 2.7 feature is moving the top navigation to a side navigation. The side navigation will allow users to expand and collapse sections to reveal the submenus without loading a new screen. In addition, the entire navigation column is collapsible, with a remnant of icons providing an “advanced” mode that creates the largest possible working area.

2.6. Interesting Dashboard Modules: QuickPress & Recent Drafts

WordPress 2.7 Theme & Admin Area


A fast way to create drafts or posts that don’t require the full metadata options of the Add New Post screen is using the QuickPress module found on the Dasboard area. You you will be able to moderate new comments directly from the Dashboard, including the new Reply to Comment function.

2.7. Quick Edit Option in Admin area

For details on how to update your theme to take advantage of these new features, please see the Enhanced Comment Display article.

WordPress 2.7 Theme & Admin Area


2.8. Auto Close Comments And Trackbacks

Comments and trackbacks are deactivated after a certain time.

WordPress 2.7 Theme & Admin Area


2.9. Bulk Edit Posts

Post management has never been so easy. ‘Bulk Edit Posts’ is a new feature introduced in WordPress 2.7. All you have to do is seletc multiple files from your “Edit Post” area and apply an ‘edit’ filter to bulk moderate files. You can now bulk moderate posts by their tags, catgories, author, status, and more…

WordPress 2.7 Theme & Admin Area


Further Readings

The jungle is alive: Be it a collaboration between two or more authors or an article by an author not contributing regularly. In these cases you find the Noupe Editorial Team as the ones who made it. Guest authors get their own little bio boxes below the article, so watch out for these.

Tags:

68 comments for „Mastering Your WordPress 2.7 Theme & Admin Area: Tips and Tricks
  1. Anderssauro on December 14th, 2008 at 5:22 pm

    great, as always! =D

  2. Hillbilly on December 14th, 2008 at 8:02 pm

    Very interesting.

    I wonder if it might be best to wait a bit before upgrading?

    Most certainly has some great extra features that will simplify managing your site.

    Cheers!

    Jeromy

    • TheAnand on December 14th, 2008 at 10:10 pm

      I think you better update it fast since wordpress 2.6 seems to have a security issue with some remv.php or something.

      • Jeromy on December 16th, 2008 at 4:04 pm

        Really?! Thats scary. I will upgrade right away.
        The auto upgrade plugin would still work for this I presume.

        Cheers!

        Jeromy

  3. rizzy81-Follow me on Twitter on December 14th, 2008 at 10:36 pm

    WOW. Now I will definitely give WordPress 2.7 a try. And thank you for the tricks and hacks.

  4. Nachtmeister on December 14th, 2008 at 10:52 pm

    I love wp 2.7

    But, when you use the Adminpanel without Google gears it’s very slow.

    But i’m happy with it since beta.

    • Ron Hager on December 18th, 2008 at 4:14 pm

      Is this true? Does Gears really improve the performance of WP? Why is this so?

  5. insicdesigns on December 14th, 2008 at 11:12 pm

    cool i just finished upgrading my wordpress.

  6. Raj Kumar Maharjan on December 15th, 2008 at 12:43 am

    Hummm upgrade version of wordpress have many advantages thanks for this post.

  7. joyoge designers' bookmark on December 15th, 2008 at 2:31 am

    useful tips and triks thanks..

  8. krishna on December 15th, 2008 at 2:56 am

    Wow! these are certainly some useful tips pertaining to WP 2.7. Tweeted this one :)

  9. Tom Ross on December 15th, 2008 at 5:47 am

    I think you’ve just persuaded me to upgrade!

  10. Metalzhang on December 15th, 2008 at 6:23 am

    oh yeah !!!!

  11. Jim Davis on December 15th, 2008 at 6:51 am

    Wow, that is some cool stuff!

  12. Matt Radel on December 15th, 2008 at 7:25 am

    Ahoy – swell post, 2.7 is bee-u-tiful. Just thought I’d mention that Safari 3.2.1 is mangling the quote marks around the word “post” under “1.3 Post Classes”. Just an fyi. :)

  13. Skateboard Forum on December 15th, 2008 at 7:37 am

    Great overview, I recently upgraded to 2.7 and was hoping to find a useful guide to learn how to navigate the new interface and tweak the settings. Thanks for this.

    Stumbled!

  14. Branson on December 15th, 2008 at 7:38 am

    I upgraded within the first hours it came out. Well worth it and im really considering moving some of my Joomla sites over to WP. WP 2.7’s commenting features are very impressive and they made installations alot easier.

  15. Rajeev Edmonds on December 15th, 2008 at 7:54 am

    Excellent tut. With the introduction of these new WP functions, more customization and better administration is easy. WP 2.7 is on its way to be the best ever release.

  16. BloggerSavvy on December 15th, 2008 at 8:48 am

    The biggest challenge for me (actually there were two) has been the plugins. I had to wait a bit for plugin developers to support WP2.7 (and there are still 2 broken plugins). And in my opinion the Admin navigation (positioning) is not as effective. It is in the way (they should have left it at the top where it does not interfere). Currently the admin interface has a left column, a right column and then post editing as a middle column. This effectively jams the editing in a smaller middle column, not full width like it was in 2.5/2.6 – Your screenshots look nice, my WP 2.7 admin looks like a mess, I wonder if there’s a plugin to “theme” the admin interface (or at least clean it up). Funny thing is my theme was unaffected. For me, the plugin installation is broken now, the same with updating plugins. I have to manually deactivate, FTP upload and then reactivate plugins. (It was working fine in prior versions).
    One thing I liked about your post above is that you’ve taken the time to orient bloggers to the new features and how to use them, nice job! I also like that you included the link to enhanced comments display – Thank you and for a great post! Again, nice job!

    • Noupe on December 16th, 2008 at 3:42 am

      Thanks for you nice words and compliments :)
      I really liked how they put the main navigation to the left, this way it will allow it to expand as much as it need to the bottom without interfering admin layout.
      I know the width of the post editing box is now less than before but you now have the option to increase its height which gives you more area, Setting > Writing > Size of the post box.
      Old Plug-ins are a complete mess, hopefully our kind authors will upgrade their plug-ins very soon :)
      You can find a list of updated plug-ins in links below:
      http://codex.wordpress.org/Plugins/Plugin_Compatibility/2.7
      http://mashable.com/2008/12/11/wordpress-27-plugins/

      • Jeromy on December 18th, 2008 at 2:05 pm

        How does the upgrade effect existing themes? I wonder if anyone has compiled a list of compatible WordPress Themes for 2.7?

        Cheers!

        Jeromy

      • Justin Tadlock on December 19th, 2008 at 10:31 am

        Existing themes should work perfectly fine with 2.7. All of this new theme stuff is simply enhancements.

        If your theme was working on 2.6, it should work on 2.7. The only thing I’d seriously look into is wp_logout_url().

  17. Advise-art on December 15th, 2008 at 10:53 am

    nice …. thank you

  18. Eligio on December 15th, 2008 at 11:02 am

    I love the features of threaded comment and the ability to close the comment/trackbacks on a certain period of time. cool update :D.

  19. Sankeerth on December 15th, 2008 at 11:38 am

    Thanks for the wonderful tips. Very good article.

  20. Gerald Mann on December 15th, 2008 at 6:55 pm

    hanks for the wonderful tips. Very good article.

  21. robert on December 15th, 2008 at 7:47 pm

    what do i need to do to my css to get images in my sidebar to size correctly? Right now i’m avoiding putting anything in there because any image even a 32×32 pixel button gets blown up.

    Great post by the way.

    • Noupe on December 16th, 2008 at 3:33 am

      You need to change or remove the style applied to your images in the sidebar. Or you can exclusively style your images by giving them a class name.
      Send me you link and i can take a look if you want.

  22. Kid C on December 16th, 2008 at 3:26 am

    Nice.. This definitely persuaded me to upgrade.

    Was a breeze! A few plugin problems, but being able to install and upgrade direct from the admin panel is a godsend!

  23. Patareco on December 16th, 2008 at 3:40 am

    The best WP 2.7 overview so far!

  24. Srednarb on December 16th, 2008 at 9:13 am

    ah detailed explanation, hesitant to upgrade to 27 but now its seems everybody are jumping in

  25. Tom Kenny on December 16th, 2008 at 9:57 am

    Thanks for the tips. I’m loving 2.7 the more and more I use it!

  26. dalidas on December 16th, 2008 at 1:58 pm

    It’s very nice that you ive writing the subjects about seo.

  27. Alexis on December 17th, 2008 at 10:20 am

    It’s very nice that you mention this subject. Your explanations are enough.

  28. eddie on December 17th, 2008 at 5:03 pm

    Big update visually from 2.6.1 –> 2.7

    BIG Thanks to the whole wordpress dev team!

  29. chan on December 17th, 2008 at 10:44 pm

    testing message

  30. Ann Arbor Michigan Website Promotion on December 19th, 2008 at 12:34 am

    Been a great change. They were good before, they are excellent now. Very user friendly.

  31. Tadd on December 19th, 2008 at 9:11 am

    Very nice – I’m really enjoying the new WordPress. It will take a touch to get used to, just like any revisions, but it looks good!

  32. Stacy on December 19th, 2008 at 10:03 am

    The only hangup for me with the Bulk Edit Posts is it adds whatever categories you select to the selected posts…it doesn’t overwrite them. So, for anyone who is looking to recategorize everything from “Admin” to “Miscellaneous” (as an example), BEP will simply add on Miscellaneous.

    From a user standpoint, I looked at Bulk Edit as bulk edit and not Bulk Add for categories. I did report this in the user’s forum…and was told it was working as designed and to “just use the quick edit” to manually adjust everything.

    Just an FYI…I found this out the hard way. Thought I’d pass along the experience.

  33. 0p0 on December 19th, 2008 at 12:37 pm

    I really don’t know a thing about php… I know about html perfectly… so My enthusiasm about personalising my old 2.6 theme vanished…
    I just don’t know how to use all those php scripts… is it just copy and paste or I got to know whay I’m doing with the scripts to use them?

    • Andy Gongea on January 3rd, 2009 at 6:53 pm

      Relax, you don’t have to know PHP to customize WordPress. You only need sites like Noupe, or WordPress.org Codex and you can do it.

      Trying some of these snippets will make you a little more familiar with PHP.

      Cheers!

  34. Outlet on December 20th, 2008 at 6:47 am

    Incredibly useful post. Thanks for sharing!

  35. Tony on January 5th, 2009 at 8:59 am

    I love the new admin area, it makes it so much easier to maintain a site, and the dashboard is so much cleaner.

  36. artevit on January 15th, 2009 at 5:14 am

    i think new features are quite interesting to think about )

  37. Gadiri on February 4th, 2009 at 3:31 am

    Good tips and tricks

  38. Ranacorp on February 4th, 2009 at 5:17 am

    Recently I launch a new wordpress blog in my site, hope this article will help me a lot. Thanks for your time and valuable information.

  39. Abby on February 4th, 2009 at 2:02 pm

    great sharing. thanks
    i have upgrade to wp 2.7…i love the main dashboard.

  40. associate-degree on February 4th, 2009 at 10:15 pm

    oho…thanks pal…since obviously got nervous to interact with the WP 2.7 admin panel. but really happy i am to find you here exploring any details about it.

    really awesome. keep going, dude.

  41. joel snipes on February 6th, 2009 at 6:02 pm

    I am new to blogging and i use blogger but i may try wordpress out now. Great post

  42. digg on October 15th, 2009 at 11:00 am

    great tips,thanks

  43. Doh on October 16th, 2009 at 12:55 am

    It’s very cool!! Thanks for info.

  44. chillchill on October 16th, 2009 at 12:52 pm

    Thank’s for info.

  45. Girl next door on October 18th, 2009 at 3:16 am

    Great! nice tips thanks for sharing

  46. KDL LCD on October 22nd, 2009 at 5:50 am

    Thank a lot for best tips

    weerachai thailand

  47. Matt on November 14th, 2009 at 1:44 am

    Thank you. Can be a tutorial for me..

  48. pars on November 19th, 2009 at 7:39 am

    Nice article. Thanks for sharing the great info.

  49. create polls on January 23rd, 2010 at 8:33 pm

    Thanks for these great tips on WordPress 2.7. Im using 2.9 currently, do you have any good tips on that version?

  50. create polls on January 27th, 2010 at 7:23 pm

    I think wordpress is a really good start on a website especially its good admin cp interface. Thanks for the tips too!

  51. Computer Security Expert on March 3rd, 2010 at 1:20 am

    nice sharing, is it same with wordpress 2.9?

    thank you

  52. mast cell tumor in dogs on December 6th, 2010 at 1:45 am

    I love the tips on this site, they are always to the point and just the information I was looking for. Theres a link at the bottom of the page its not working, please send me the link at

  53. Kori Lassalle on January 18th, 2011 at 8:14 am

    It can be tricky to talk about if this really is very good, but only time will tell, as with most excellent design.

  54. sami on May 15th, 2011 at 3:59 am

    I like the theme, thanks very much

  55. smai on November 1st, 2011 at 3:15 am

    thanks for sharing…^^

  56. sedrd on November 16th, 2011 at 1:09 pm

    thanksss for sharing

  57. mangeshi on March 24th, 2012 at 9:36 pm

    Wow, that is some cool stuff!

  58. Ilham Taufik on June 2nd, 2012 at 4:30 am

    Nice information, this is great

  59. Renato on May 9th, 2013 at 11:16 pm

    great, thanksss for sharing

  60. Tony on January 5th, 2009 at 9:03 am

    I was thinking with my blog that it would be nice to have 2 or 3 separate sections of Links, each showing it’s own links in given categories.