How to Get the Post ID in WordPress

If you are new to WordPress, you have most likely encountered a plugin asking you for a post ID.  Most people think they have WordPress all figured out, and oftentimes, they get all confused when they encounter this. This is quite understandable. After all, it is easy to see the name of the post and to find the URL. Finding the post ID however is a totally different story.

If you have encountered a problem like this, you are in luck! This post is created to show you how you can get and find the WordPress post ID. Sure, many WordPress users do not know where to find the post ID, and they get by just okay. So, what is the importance of knowing the WordPress post ID? 

Oftentimes, you will need to provide the WordPress post ID when you encounter a scenario like the one we have mentioned in the early part of this article (when a plugin asks for it). However, many themes will require the post ID during configuration as well.

How to Find the Post ID in WordPress

The quickest and easiest way to find the post ID is from the All Posts screen. You can find it by logging into the WordPress dashboard. Click on Posts > All Posts.

WordPress Posts Section

From there, hover your mouse to the post you want to find the ID for. Then look at the bottom left hand corner of the screen.

You can see a pop-up box. That is where the post ID is. To be more specific, the post ID is the number that comes after “post=“ and before “&.” You can also find the post ID in the address bar. The post ID is still sandwiched between “post=“ and before “&.”

WordPress Post ID

Both ways are straightforward to do. If anything, it should not take more than a few seconds to locate the post ID.

Category, Tag, Page, Comment, and User IDs

Custom IDs are not limited to posts alone. Every tag, category, page, and user ID on the website will each have a unique ID number. You can find the ID numbers the same way you found the post ID numbers. For instance, if you are looking for category ID, simply click Posts > Categories from within the WordPress dashboard.

Once there, hover over the category you want, and you will find the URL in the bottom left corner. You can find the category ID after “category&tag_ID=” and before “&.”

WordPress Category ID

Alternatively, you can also click on the category and find the category ID from the URL.


If you have once struggled with configuring a theme or using a plugin because you do not know how to get or where to find the Post ID, we hope this tutorial can help. While it is extremely easy, most WordPress users are clueless how to find the post ID since it is very rarely required. Now that you know how to find it, configuring any theme or plugin should be a breeze!

About Us
Innzone Hosting offers superior, reliable and affordable Web Hosting to individuals and businesses worldwide.

© Innzone Hosting. All rights reserved.