How To Find The WordPress Post or Page ID

More share buttons
Share on Pinterest
Share with your friends


wordpress logoAn Easy Way To Find The Post or Page ID in WordPress

A couple versions back, the post ID was listed in the dashboard and was incredibly easy to find.

Now however, as there has become less need to tinker under the hood of WordPress daily, the WordPress Post ID (which is also the same ID used for Pages) has been removed from the dashboard.

Fortunately though, even without a plugin, there is an easy way to find the Post/Page ID.

It’s important to note that Posts & Pages share a Post ID number type.

In the back-end of your blog (Dashboard), in the left side-bar, go to either Posts or Pages.

This opens a list of all the current posts (or pages) on your blog.

Now hover your mouse over the name of the post we need the wordpress post ID for and then look in the (very) bottom left of your browser for the address that link points to….

Within the link you will spot the magic number of the WordPress Post ID!

(click on the image for a larger view)

That number after “post=” is the number you need for whatever project you are doing that asks for the WordPress Post ID!

If you find you’re doing a lot of this while coding something elaborate, it may feel easier to you to temporarily install “Reveal IDs for WP Admin” which will list the ID numbers next to their respective entry, and remove it as soon as you are finished.

Happy Blogging!
Kimberly Castleberry

PS: The same technique applies for finding the WordPress Category or Tag ID!


More share buttons
Share on Pinterest
Share with your friends



  1. says

    Nice post, very useful not only to newbies but also for pros and plugin developers who regularly need to use the post id function call in the code.

  2. says

    Thanks Kim, I needed this today! I can’t believe the IDs are not just listed along with the other meta data like in the right hand of the post/page. SMH….

    • says

      I hear ya Kesha, I guess with the focus today being on the non-techy user, that those numbers were scaring some newbies and it was concluded that you probably didn’t need em if you didn’t know how to do a mouse hover! That’s my only guess and only because it makes me laugh. They sadly didn’t consult me on this one!

Leave a Reply

Your email address will not be published. Required fields are marked *