WordPress.org

Ready to get started?Download WordPress

Forums

How to know the category ID of my categories? (6 posts)

  1. sitelit
    Member
    Posted 5 years ago #

    I'm really puzzled at this, how to find the category ID for my categories? such as 1, 2, or 3? thanks in advance!

  2. Lorelle
    Member
    Posted 5 years ago #

    On the Categories Panel, hover the mouse over the category name link and you will see the link address in your browser's status bar (turn it on under View) or click the link. The last numbers in the link address is your category ID number.

    It used to be clearly numbered in past versions of WordPress, but in current versions, it isn't. That's how you find it.

  3. sitelit
    Member
    Posted 5 years ago #

    resolved, thanks a lot!

  4. reflexionstudios
    Member
    Posted 5 years ago #

    What Lorelle said is the easiest and fastest. Alternatively you can use get_the_category() and echo cat_ID and cat_name to determine what is what.

    http://codex.wordpress.org/Template_Tags/get_the_category

  5. needle189
    Member
    Posted 5 years ago #

    where can i find the manage categories link in wordpress 2.7

  6. MichaelH
    Member
    Posted 5 years ago #

    See Administration > Posts > Categories

    Also here's a plugin that shows the IDs in the admin panel in a clearer fashion:
    http://wordpress.org/extend/plugins/reveal-ids-for-wp-admin-25/

Topic Closed

This topic has been closed to new replies.

About this Topic