888888.888888.88""Yb..dP"Yb..8888b..Yb..dP.88b.88....db....8b....d8.88..dP""b8..dP"Y8
88__...88__...88__dP.dP...Yb..8I..Yb.YbdP..88Yb88...dPYb...88b..d88.88.dP...`".`Ybo."
88""...88""...88"Yb..Yb...dP..8I..dY..8P...88.Y88..dP__Yb..88YbdP88.88.Yb......o.`Y8b
88.....888888.88..Yb..YbodP..8888Y"..dP....88..Y8.dP""""Yb.88.YY.88.88..YboodP.8bodP'


88b.88.888888.888888.Yb........dP.dP"Yb..88""Yb.88..dP
88Yb88.88__.....88....Yb..db..dP.dP...Yb.88__dP.88odP.
88.Y88.88"".....88.....YbdPYbdP..Yb...dP.88"Yb..88"Yb.
88..Y8.888888...88......YP..YP....YbodP..88..Yb.88..Yb

September 13, 2008

I’ve been pretty scathing about some aspects of WordPress over the past few weeks both here and in the comments of a few other blogs. That being the case I thought it was about time I wrote about some of the things that I really like about the current development version of WordPress; the version that will become 2.7 in the next few months.

Admin Stuff

There is a new option in each post screen that allows the uselss crap you never use to be removed, leaving only a nice clean interface. The fact that drag and drop is back also means that you can order what’s left to create a start to finish workflow (or should that be WordFlow?). My entire post screen now looks something like this:

It is also now possible to reply to comments from the admin panel. choosing to reply to a comment brings up a nice floating box for your well thought out reply.

It is finally possibly, god knows why this wasn’t always available, to upload files from the media manager instead of having to create a new post.

And lastly a new quick edit option allows some of the core settings of posts and pages to be altered from the manage page. These are settings such as the page title, slug, publication status, whether it can accept comments or trackbacks, as well as categories and tags.

Development Stuff

For a long time I have thought that WordPress was missing functionality when it comes to the site menu. Every theme has one and yet the controls for it are woeful. The new function wp_page_menu() will generate the HTML for the menu including customisable home page text (if you want the home page included), the option to specify a class, change a sort order or to get the result as a string instead of echoing it.

This is a step in a direction, but it is very basic and some might want more from it. As a basic theme template tag it is the right choice though. It fits in with the rest of the WordPress theme template tags in philosophy and output and will remove some of the development burden for theme authors that aren’t really familiar with PHP.

[php]
wp_page_menu('show_home=Home&menu_class=menu);

WordPress 2.7 will support threaded comments by default and with that comes a template tag to take the work out of outputing those comments.

[php]
wp_list_comments($comment);

This is interesting to me for a few reasons. Firstly it rolls up the default comment HTML into the function, so while you can overide this I think it is likely that it will mean less variation in the way comments are marked-up. Most people tend to copy the default theme anyway but some themes do vary alot. The second reason is that to overide the comment HTML you include a function name to call instead. This means that even if you want to use different HTML it may be best placed in the functions.php file or at least in a separate file that the functions.php calls as an include. Either way it helps to keep the templates cleaner.

I have already written about the plugin uninstall mechanism so I won’t go into that again but it is interesting. Back in the days of 2.3 there was a lot of interest in this, promted by an article on weblog tools collection, and my posts on the subject still recieve a fair degree of attention.

It goes without saying that things could change either a little or a lot before 2.7 comes out, and I am sure there is more to come. In the meantime I would to hear about the things that you are most looking foward to about 2.7. What is your favourite new features?

Adding Settings To Admin Pages
Wordpress addsettingsfield?
3 comments
page 793
Updating Code Snippets Here
Fun wordpress plugins?
no comment
page 1338
Html 5 Gallery
Html5 image gallery?
6 comments
page 1305
How To Add Sidebars To A Theme
How to register two sidebars in wp?
10 comments
page 1053
Post Image The Easy Peasy Way
Wordpress theimage?
26 comments
page 1065
Using Wordpress As A Php Framework
Php framework wordpress?
2 comments
page 335
Using Your Own Url Shortener
Short url?
4 comments
page 1190
Wordpress Vs Graffiti
Html5 cms?
8 comments
page 95
Post Image The Easy Peasy Way
Wordpress medium size image link?
26 comments
page 1065
Html 5 Gallery
Html 5 gallery?
6 comments
page 1305
Quick N Dirty Admin Login Screen
Web templte admin login page?
no comment
page 128
Post Image The Easy Peasy Way
Wp get url functions?
26 comments
page 1065
Html 5 Gallery
Wordpress html5 theme?
6 comments
page 1305
Wordpress Chat
Wordpress chat?
3 comments
page 1308
Html 5 Gallery
Wordpress html5?
6 comments
page 1305
Post Image The Easy Peasy Way
Wordpress get first image attached to post?
26 comments
page 1065
Html 5 Gallery
Wordpress html5?
6 comments
page 1305
Post Image The Easy Peasy Way
Wp automatically insert image based on tags?
26 comments
page 1065
Quick N Dirty Admin Login Screen
Login screen css?
no comment
page 128
What Wordpress Workflow Needs
Word press workflow?
3 comments
page 1226
How To Add Sidebars To A Theme
Wordpress thematic modify sidebars?
10 comments
page 1053
Six Million Ways To Die Choose One
Ways to die without noticing?
14 comments
page 1128
Post Image The Easy Peasy Way
Wordpress theimage?
26 comments
page 1065
Photoshop Design Framework
Photoshop framework?
3 comments
page 296
Creating Custom Urls
Custom url for wordpress page?
6 comments
page 80
How To Add Sidebars To A Theme
How to add a sidebar to a theme?
10 comments
page 1053
Using Your Own Url Shortener
Htaccess tiny url shortner?
4 comments
page 1190
Photoshop Design Framework
Framework in photoshop?
3 comments
page 296
What Wordpress Workflow Needs
Wordpress workflow?
3 comments
page 1226
Html 5 Gallery
Wordpress html5?
6 comments
page 1305
Using Your Own Url Shortener
Build your own url shortener?
4 comments
page 1190
My Experience Of Flexx
Cant upload image to flexx wordpress theme?
4 comments
page 1026
Post Image The Easy Peasy Way
Wpget post image?
26 comments
page 1065
  1 query every 1561 seconds, updated 1 seconds ago.
Sunday, 7am
 __
(__)
   `

 WordPress: What

[...] Source: http://www.wp-fun.co.uk/ [...]

Saturday, 9pm
 __
(__)
   `

 Andrew Rickmann

I don’t see anything in the code that suggests it will check and separate them out; however, the function wp_list_comments expects to recieve the comment array so there is no reason why trackbacks and pingbacks can’t be filtered out before being passed to the function.

Saturday, 9pm
 __
(__)
   `

 Ptah dunbar

Any idea if threaded comments include trackbacks and pingbacks inline or do they get separated from the comments?