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.

Comments

 (Post a comment) | Comments RSS feed
  1. tight stuff, I’m going to give it a try

    Comment by Zilla on December 13, 2004 @ 2:26 pm
  2. Loving it. It complements the admin screen. Thanx.

    Comment by Zilla on December 13, 2004 @ 2:31 pm
  3. 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!

    Comment by Kafkaesquí on December 13, 2004 @ 4:33 pm
  4. Thanks for your work

    Comment by kelet on December 15, 2004 @ 1:16 am
  5. Will this work with 1.3alpha5?

    Comment by Anthony on December 18, 2004 @ 7:37 am
  6. 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.

    Comment by dan on December 18, 2004 @ 4:13 pm
  7. Super – the one and only thing I missed from MT – thanks!

    Comment by Jim on December 26, 2004 @ 10:16 am
  8. 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.

    Comment by dan on January 28, 2005 @ 9:49 am

Comments are closed