Code

How to find a WordPress category ID

0

Many WordPress themes, especially those in magazine style, need to have some configurations in terms of category IDs in order to show things properly. They will often ask you for a Category ID in the theme option panel. And you might be wandering how on earth to find those IDs.

That is, in fact, a quite easy task – even though it might be a little tricky. This post is all about those IDs and how to find them in no time. Here we go:

  1. On your dashboard, under the Posts menu, click Categories;
  2. Keep the mouse over the category whose ID you need;
  3. Look at your browser’s status bar and you will see something like this in the shown URL: tag_ID=160all you need is the number.

So that you know, this is true for WordPress tags and other custom taxonomies you might be using in your site – the ID finding process is the same.

This is all for this time. I hope you enjoyed it. And good luck!

Baki Goxhaj
I’m a web consultant specializing in WordPress. I love elegant solutions, quality code and a good laughter.
You may also like
5 Tips to Being a Better WordPress Developer
wordpress custom field example
Overwrite Default Post Permalinks
15 Comments
  • Jaupi May 10,2012 at 8:10 am

    Thanks Banago for good tutorial

    • banago May 10,2012 at 8:49 am

      Hey, thanks for dropping by 🙂

  • […] TIP: If you have trouble finding category ID, read this page: How to Find a WordPress Ctegory ID […]

  • faze tari Feb 22,2011 at 6:17 pm

    thanks man for tutorial 😉

  • Mark Hillary Feb 4,2011 at 5:03 pm

    Thanks – this was really useful and saved me a lot of time!

    • BANAGO Feb 4,2011 at 5:10 pm

      Welcome! I’m happy to hear that.

  • Simon Johnstone Jul 24,2010 at 9:24 am

    I searched everywhere for this info, but I found it after reading how to display recent comments without using a plugin or widget.
    Thanks

  • Shamim May 6,2010 at 4:40 pm

    It’s a easy info that I was looking for. I thought to use plugin but i didn’t know there are sweet tricks are waiting for me.

    Thanks bro……

  • Louie Sison Feb 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.

  • Huken Jan 2,2010 at 7:21 am

    Thanks for this post! I like it 😡

  • Jodi Aug 23,2009 at 1:39 am

    This was SUPER easy and SUPER helpful. Thank You!

    • BANAGO Aug 26,2009 at 12:09 am

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

  • joyoge designers' bookmark Aug 2,2009 at 7:46 pm

    thanks for the tip:))

  • BANAGO Feb 11,2009 at 10:01 am

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

  • rudy Feb 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.

Leave Your Comment

Your Comment*

Your Name*
Your Webpage