How to Find Post, Category, Tag, Comments, or User ID in WordPress

How to Find Post, Category, Tag, Comments, or User ID in WordPress

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages



When working with your WordPress site you may have a need to find a post ID, category ID or tag’s ID. Knowing the ID will let you locate that item in your WordPress database.In this video, we will show you how to find post, category, tag, comments, or user ID in WordPress.

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Text version of this tutorial:
http://www.wpbeginner.com/beginners-guide/how-to-find-post-category-tag-comments-or-user-id-in-wordpress/

Follow us on Twitter:

Checkout our website for more WordPress Tutorials
http://www.wpbeginner.com/

Summary of this Tutorial:

Starting with a post’s ID log in to your admin panel and click on the post you are looking for.

The post will open in the editor and you will be able to find the ID after “post=” in your address bar.

A similar method can be used to find the page ID but under the pages menu instead of posts.

Finding a taxonomy’s ID such as a category or tag is a very similar process.

Under Posts, Categories click on the name you want and the ID will in the address bar after “tag ID=”.

A comment’s ID can be found by going to Comments and click edit for the comment of choice to see the ID in the address bar after “c=”.

Just as with the others a user’s ID is under Users and click on the user you want to see the ID in the address bar.

To find your own ID click your post count under all users and your ID with be in the address bar after “author=”.

E-COMMERCE LICENSE FREE 15 DAYS TRIAL

E-Commerce License FREE 15 DAYS TRIAL

To subscribe to E-Commerce License, SELECT YOUR FREE DOMAIN (TLD .com .net .org .info .us .club .pro or .link), ADD IT TO YOUR CART, CONFIRM YOUR DOMAIN, then at confirmation page select your subscription type.

I

About The Author

error: