A Useful Plugin: ShowID for Post/Page/Category/Tag/Comment plugin

I find myself in every recent version of WP (and WPMu) searching for the ID numbers for various pages, posts, categories, and/or tags on a number of occasions. I’m not sure when this feature got dropped from the core, but I do remember it was at one time part of the edit post/edit page metadata. As of the latest versions the only way to find ID numbers is to actually edit the page (or post, tag, category, comment, etc.) and look for the ID value in the URL field (pictured below). Not very intuitive, in fact, ridiculous.

ShowID for Post/Page/Category/Tag/Comment plugin actually shows the ID value right from the edit section of any of these elements. Something like the following:

I am going to activate this plugin sitewide for UMW Blogs, because a number of the plugins/widgets we have actually ask for page/posts IDs to exclude pages/posts etc. from a widget, or include categories in a page. And explaining how to find this information without this plugin is just that much more difficult. I really don’t understand why this isn’t a core feature of WP given core widgets (such as the pages widgets) and a wide variety of plugins depend on ID values.

Related posts

6 Responses to “A Useful Plugin: ShowID for Post/Page/Category/Tag/Comment plugin”


  1. 1 dandam Feb 7th, 2010 at 3:21 am

    Yeah, that’s a pretty annoying little oversight in the WP page and post listings.

    Another option, which I find a bit more helpful since I don’t have to do the rollover thing to find the id is Simply Show IDs which adds an ID column to the Post, Page, Category, and Link pages. Great if I’m limiting page listings via a function/wplistpages in a template.

  2. 2 Reverend Feb 7th, 2010 at 5:45 am

    dandam,

    Nice, and even better plugin, and I agree it is more useful. Wonder if I can use both together? Which would be perfect.

  3. 3 Fumito Mizuno Feb 9th, 2010 at 11:07 am

    Hi, Im the author of “ShowID for Post/Page/Category/Tag/Comment.”

    Thank you for using my plugin.

    I agree it is better if ID is shown without rollover. I found the solution.
    Please add the code shown below, and you don’t have to move the mouse.

    =====
    function always_showid() {
    ?>
    div.row-actions{visibility:visible !important;}
    <?php
    }
    add_action( 'admin_head', 'always_showid' );
    =====

  4. 4 Reverend Feb 9th, 2010 at 1:14 pm

    Fumito,

    Thank you for posting this solution here, love your plugin, and appreciate how connected you are that you immediately offer a solution. Kudos to you, you’re a rockstar.

    Jim

  5. 5 Reverend Feb 9th, 2010 at 1:23 pm

    Fumito,
    I just tried your code and I’m wondering if what you included in the comment above is correct, or is something has been stripped, because it isn’t working.

    Thanks again.

  6. 6 Fumito Mizuno Feb 9th, 2010 at 1:59 pm

    Hi, Jim.

    Oops. Some tags are stripped.
    Please visit my blog post, where I added the code.
    http://ounziw.com/2010/02/05/showid/

    I will add this code to my plugin in the next update.

    Thanks.

Leave a Reply




EDUPUNK: DIY EdTech

dev.WPMuEd Contributor

about

bavatuesdays.com is an ongoing conversation about media of all kinds ...

Testimonials:

Generations from now, they won't call it the Internet anymore. They'll just say, "I logged on to the Jim Groom this morning.
-Joe McMahon
Everything Jim Groom touches is gold. He's like King Midas, but with the Internet.
-Serena Epstein

My understanding is that an essential requirement of the internet is to do whatever Jim Groom asks of you while you're online.
-James D. Calder

I am Jim Groom

Find out more about me here.

browse the bavarchive