wordpress 1.2.x dashboard
I took a peek at WordPress 1.3 and saw that they have a link to a dashboard in the admin menu, but nothing is there yet. I thought it sounded like a good idea, so I wrote my own dashboard for 1.2.x, just to give me an idea of the overall state of my blog. It shows the last 10 posts (drafts and published), the 10 most commented posts, the last 10 comments (moderated and published) and each user with how many posts they’ve written.
Here is a screenshot of my dashboard to give you an idea of what it does.
If you’d like to try it, download it and then unzip it at the root of your wordpress directory. If you’ve modified menu.php, make sure you back it up first and so you are able to restore the modifications. All I did was add ‘Dashboard’ to the beginning of the menu list (right before line 10 in my version), so you can just add that manually.
By the way, credit goes to Nick Momrik’s plugins for his most recent comments and most commented posts plugins. I didn’t want to require two plugins, so I included those two slightly modified methods (renamed so they wouldn’t conflict) inside this file.
I’d love to get any feedback you may have, negative or postive.
tight stuff, I’m going to give it a try
Loving it. It complements the admin screen. Thanx.
Nothing like dropping a few files into a directory to change your whole day. Good work was done here.
Oh no, and there’s math!
Thanks for your work
Will this work with 1.3alpha5?
Anthony: It works, but you have to do things a little differently. Instead of unzipping into your wordpress installation, copy dashboard.php into the root and change the dashboard link in menu.php from index.php to dashboard.php.
Super – the one and only thing I missed from MT – thanks!
I added ‘Edit’ links to the dashboard, so now you can either view posts and comments or edit them. I updated the screenshot so you can see what it looks like with the edit links.