How to find a WordPress category ID

By BANAGO » WordPress » January 18th, 2009

Many WordPress themes, especially those in magazine style, need to have some configurations in terms of category IDs. So, you need to set an ID in the proper part of code (WordPress loop) so that you have the posts of a certain category shown on a certain section of the page. One of the questions that many WordPress user might have is how to find those IDs. That is quite easy even though it might be a little tricky. This post is all about how to find those IDs very easily – just follow the steps below and see the image for reference.

  1. Log in to your WordPress dashboard
  2. Expand the Posts menu on WordPress 2.7 (click Manage on earlier versions)
  3. Click Categories
  4. Keep the mouse over the category whose ID you need
  5. Look at your browser’s status bar and you will see the ID like this …cat_ID=1 – all you need is the number.

Also refer to the image to have a clearer idea.

wordpress-category-id

This is all for this time :) I hope you enjoyed it.

8 people shared their opinion »

  1. rudy

    February 11, 2009
    at 6:11 am

    Hi, thanks for this hint. I had to use a plug-in to get it :D . Maybe now it’s time to turn it off, and keeping WP faster.

  2. BANAGO

    February 11, 2009
    at 10:01 am

    Welcome! Yes, WordPress has to be fast to succeed, so make it as light as possible. Good luck!

  3. thanks for the tip:))

  4. Jodi

    August 23, 2009
    at 1:39 am

    This was SUPER easy and SUPER helpful. Thank You!

  5. BANAGO

    August 26, 2009
    at 12:09 am

    You’re most welcome! I’m happy that was helpful to you.

  6. Huken

    January 2, 2010
    at 7:21 am

    Thanks for this post! I like it :x

  7. Louie Sison

    February 18, 2010
    at 6:34 pm

    I used this in my other website. You can check it out, it’s http://www.dreamhousewebsolutions.com. It worked for me.

Trackbacks

  1. WordPress links week 4 - 2009 | WPStart.org - WordPress themes, plugins and news

Leave a comment

Copyright © 2007 - 2009 Baki Goxhaj Powered by WordPress and WPlancer