Admin

While working on WordPress, you may come across conditions where you feel like the need arise on getting to know you WordPress post, category and user ID. Although the task of finding the ID is quite a simple one but sometimes it may even confuse an advanced WordPress user also. In this article we will show you how to find different IDs which come beneath under WordPress.

Finding Page/Post ID

Once you logged into your WordPress dashboard, Go to Manage > Pages and from the Pages list, hover over to one of the Page title of which you want to find the ID of. You will notice the URL in the following way:

http://www.example.com/wp-admin/page.php?action=edit&post=60

The number with which the URL ends is the Page ID (60 in this case).

Finding Category ID

Go to Posts > Categories and click on the category name. The category will get open in an editor and you will then be able to see the category ID by looking onto your browser’s address bar. You will notice the URL in the following way:

http://example.com/wp-admin/edit-tags?action=edit&taxonomy=category&post_type=post&tag_ID=4&post_type=post

The number with which the tag ID represents is the Category ID (4 in this case).

Finding User ID

Go to Users >All users and click on the user name. User’s profile will get open and you can then get the user ID from browser’s address bar. You will notice the URL in the following way:

http://example.com/wp-admin/user-edit.php?user_id=20

The number with which the user ID represents is the User ID (20 in this case).

Photo Credit: Flickr/Konrad Twardowski

Note: Like the post, then make sure you do follow and like us on both Twitter and Facebook.