Some themes requires that you fill a form field with a category ID. It may be easy to find a category ID if you’re an advanced WordPres user, but what about beginners? Here’s a very simple manner to find any category ID.
Some themes requires that you fill a form field with a category ID. It may be easy to find a category ID if you’re an advanced WordPres user, but what about beginners? Here’s a very simple manner to find any category ID.
Once you're logged in your WordPress dashboard, go to Manage and then in Categories.
Simply put your mouse cursor on the "edit" link related to the category you want to know the ID and look on your browser's status bar: As you can see on the screenshot below, 1 is the id of the category.

85 Responses
Thank you for this site. I like this simple tips. Continue in this perfect work. I found many useful tips here.
@bub: Thanks
)
Hey thanks for that pointer.
This is a little trick that most WordPress users don’t know. It was a wise think to post it in your great blog.
This is a little trick that most WordPress users don’t know. It was a wise thing to post it in your great blog.
Hi,
My site is set up to show custom the category and post title in the URL. Is there another way to find the category ID’s? because mine no longer show as part of the URL?
Thanks, Liz
wauw thanks a lot!
That is what I needed!
Harro
thanks! this helped with my slider. It was just showing the most recent posts that were right under it. lol
thanks, unfortunately this doesn’t work in safari. helped solved an issue I was having defining categories. kudos.
When you’re up at 4am and need info fast, it’s sites like yours that are lifesavers! 3 Cheers and thanks!
Wow, that simple, thanks!
Thank you SO MUCH!
Thanks for the tip. In 2.8.4 you can also click on Posts>Categories to see the category ID. There is also a plugin that shows the IDs. Great site. Keep up the good work.
Thank you SO SO SO MUCH. I spent over 2 days figuring out how to send post to WordPress using XMLRPC with chosen category. I am struggling because WordPress doesnt like ‘category name’. I have no idea how to find category id until now. Your tips make my day. Thank you .
You ROCK! Thanks….you saved me!
you are the best
I am glad to see so many poeple being helped out by this wonderful site.
Agreed, when you are up late learning and don’t have time to read every help file it’s sites like this that keep things moving on the development front. Many many Thanks!
Thanks to the WordPress community. You are always a comment away from help in the great WP community.
Great! Thank You!
Welcome aboard @Shanti.
Wow! Thank you so much. This has saved me a bunch of time, and now I can use my theme to it’s fullest!
@Chris this is what makes the WP community so vibrant. Make sure to pass your learnings to others too.
Sweet!! Thanks for the quick info and screenshots.!
It all shows up on your dashboard. Pretty neat software to use. Very handy too.
totally useful for me..thanks for tips..really appreciate it..
Thanks very much. You explained in a simple and quick manner
I knew this but I forgot. Great that you came up in the top of the search for this question. You’d think that they would add this little trick to the codex, but oooooh noooo.
Thank you!!!!!!!!!! You halped me so much with this information!
Thank’s a lot – just what I needed!
Thanks, this valuable piece of info has saved me hours of time.
Thank you so much, I almost beat my brains out with my keyboard trying to find the category id.
Thank you, seriously!!
Thanks jean. That’s really simple trick that almost i miss
Hey It’s a cool trick to find wordpress category ID. Thanks
THANKS a LOT ! i was looking for that so long ago !
Thanks,That’s exactly what I find.
I am glad this made it easy for so many.
Thanks,i finally find out.
THANKS! I knew someone smarter than me would have come up with the answer!
Themes should be designed to use the
is_category()function and accept the form input as an array of category id, slug, or category name.But still, simple is good too.
WOW!!! i have to hand it to you, you just saved a headache!!! Thanks!
Thanks for that. So simple, yet so very helpful.
Simple solutions are always the best, Brilliant.
Dude, that rocked! Just spent 20 minutes being an idiot looking for the ID. Didn’t think of looking in the URL.
merci bien!
Perfect little tip. It was exactly what I needed to filter out my guest posts from my blogs homepage using query_posts();
Thanks.
So simple
Thanks for this very useful and simple tip. I was going crazy changing my permalinks settings back and forth to see IDs in the URL.
Also works for tags and pages.
Also, someone earlier said it doesn’t work in Safari. If it didn’t, it does now.
Thanks Friend, it was really helpful for me , 5 Star***** Goes to you
This did not work for me in Chrome, the status bar did not show enough of the URL to include the ID. For everyone else who have thsi problem this is what you do:
Right click the ‘edit’ link and choose the ‘copy link adress’ option. Then paste inot anything that can handle text, like Word. There is the entire URL, ending with the ID number.
So simple, and yet I spent ages looking for it! Thanks!
Was helpful..thanks!
Wow! SO easy! THANK YOU for that!!!
Thanks for this small tip, actually this small tip made a huge difference to me setting up a theme to work. Onething some people forget is that not everyone knows where to find things.
Keep up the good work
You just saved me hours of being in agony-city, as Bob Ross would describe it
Thanks a lot!
Thanks heaps for this ultra simple explanation!!!
I’ve been looking all over the WP documentation for this info, thanks so much. I never would have guessed it was that simple.
Litle trick but i think still many people dont know about it..
Wow… this is what I need!!
I was confuse, try some code from wordpress docs like:
but that doesn’t work…
Thank you so much bro… ^^
Trackbacks: