Each post also has one ID like each house has its own address. It is unique. In addition to the website, there are many applications such as Facebook, Zalo, … that use ID to distinguish to pages.
There are many WordPress users don’t know how to find the post ID. If you’ve ever had this problem, you’re in luck because I’m going to show you exactly where to find the WordPress post ID.
How to get a post ID in WordPress
Only a few people haven’t known the post ID, because it doesn’t often appear and isn’t so important. However, in many cases, we still need it. There are several ways to find it and it is also very simple.
Option 1, this is the quickest and easiest way to find it. You can click into the posts section of your WordPress dashboard and hover over the title of a post. In the bottom of your browser, you will see the post ID.
More specifically, it is the number that comes after the
post= and before the
&. All ID addresses have this structure.
Let’s see in the above screenshot. In this instance, my post ID is 12509.
Option 2, you log into the WordPress dashboard and click on the post you want to find the post ID.
When done this way, it is in the address bar. The URL shown will be exactly the same, and the post ID is again sandwiched between the
post= and the
Both ways are really easy to do, and it shouldn’t take more than a few seconds to find the post ID.
How to find page, category, tag, comment and user IDs
Every page, category, tag, comment, and user ID on your website will also have a unique ID number. You can find these ID numbers in exactly the same way that you found the Post ID numbers.
In the case of category ID, simply click
Categories from within the WordPress dashboard.
When there, find and hover over the category you want, and you’ll see the URL you want in the bottom left corner, same as before.
The category ID is found after
category&tag_ID= and before
& as seen in the screen grab above. Let’s see in the above screenshot? In this instance, my category ID is 13.
Alternatively, you could click on the category and find the category ID from the URL. There is a difference between the post ID and page ID. Post ID has 4 digits but the page ID include from 1 to 2 digits. The category ID like the page ID.
How to find tag, comment, and user IDs also do the same. It is very simple. You don’t need to know the technology well, you will do it well.
If you’re struggling to configure a theme or use a plugin because you can’t find a post ID, I hope this short tutorial has helped you out.
Hopefully, this article will help you develop your site better. Let’s wait for other useful articles on my website!