Hello Sunil
WordPress post and page ID – Where to find it

WordPress post and page ID – Where to find it

If you have been using WordPress for any significant amount of time, you have probably come across a situation where you need to find a WordPress post or page IDs. Page and post IDs can come in handy both when you are using plugins and working with code. 

Have you ever installed a theme, plugin or widget that asks for a post or page ID? If you have ever had this problem, you are in luck: today, I am going to show you exactly where to find the WordPress page and post IDs.

❗ Important

This solution is for self-hosted WordPress sites, not wordpress.com websites.

Also Read: Which is Better? – WordPress.com vs WordPress.org

How to find a post or page ID in WordPress 

Go to Posts > All Posts or Pages > All Pages and hover over the name of the post or page whose ID number you want to find.

You will see at the bottom of your browser window a URL. This URL will include the ID. That number is the ID number for the post or page.

Finding a post or page id in WordPress

In my example screenshot you can see post=9530, so 9530 is the ID number for – The Best CSS Length Unit For a Responsive Design : rem, vw, vh and fr, Explained.

Wrapping things up

Whether you are using plugins or code, you will probably encounter a situation where you need to know the actual ID of a piece of content on your WordPress site.

Although it’s really easy to do, most WordPress users won’t know how to find the post or page IDs, simply because it’s so rarely needed. Remember how it’s done, so if you are ever asked for it, you won’t waste any time finding it.

Do you have any questions about finding WordPress post or page IDs? Fire away in the comments section below!

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Similar articles you may like

Sunil Pradhan

Developer, Explorer, Learner. My hunger and curiosity drive me forward in directions I want to go.

Add comment

Stay Updated

Want to be notified when our article is published? Enter your email address below to be the first to know.

Sunil Pradhan

Developer, Explorer, Learner. My hunger and curiosity drive me forward in directions I want to go.