WordPress – How to find Post ID and Category ID?

There are some plugins that may ask for the Post ID and Category ID. And, you search on WordPress and cannot find a place to show it. In this post, we will guide you to get the Post ID and the Category ID

1.Get WordPress Post ID

To view a post ID, just click on Posts > All Posts > Move the mouse cursor to the post name > Look at the bar at the bottom of the browser, you will see the address:
https://sampler.com/wp-admin/post.php?post=1601&action=edit

Or, you can open the post in a new window tab > You also can see in the address bar as:
https://sampler.com/wp-admin/post.php?post=1601&action=edit

Notice at “post=1601“, the 1601 is post id

2.Get WordPress Category ID
To view a category ID, just click on Posts > Category > Move the mouse cursor to the category name > Look at the bar at the bottom of the browser, you will see the address:
https://sample.com/wp-admin/term.php?taxonomy=category&tag_ID=8&post_type=post

Or, you can open the category in a new window tab > You also can see in the address bar as:
https://sample.com/wp-admin/term.php?taxonomy=category&tag_ID=8&post_type=post

Notice at “category&tag_ID=8“, the 8 is category id

Add Comment