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.

This entry was posted in plugins, Uncategorized, WordPress, wpmu and tagged , , , , . Bookmark the permalink.

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

  1. dandam says:

    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. Reverend says:

    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. 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' );
    =====

    • Reverend says:

      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.

  4. Reverend says:

    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. 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

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.