Comments: 0Posted on Thursday, July 29th, 2010 by Philip Light

How To Find Category ID’s in WordPress

There are many times when using WordPress plugins that you will need to know a particular Category ID. For instance, if you are building a Site Map using WordPress and want to exclude a certain category from showing up in the Site Map, then you’d need to find the ID of that category and insert it into the settings of the plugin.

Fortunately it’s pretty easy to find the category ID.  Just login to your Admin Center and go to Posts > Categories and click on the category you need the ID for.  Now, look at the URL of the page, which will look something like..

http://www.xyz.com/wp-admin/categories.php?action=edit&cat_ID=9

The number after the “cat_ID=” part is your Page ID. In this example, the page ID would be ‘9’.

You also sometimes need to Get the Page ID in WordPress.

Print This Post Print This Post
Category: WordPress How To's

Leave a Reply