Use the coupon code WORDPRESS and save 30% OFF! Buy Now

Knowledge base

How to find the page ID or post ID

Manually via WordPress

Each post, page or custom post type in WordPress carries a unique numeric ID, this ID might be used in all sorts of ways so let’s see how we can find it when we need it.
Go to your dashboard and open the post/page in question for editing, look at your browser’s address bar, you will see the ID in the post’s URL

locate-id

A quicker method would be by hovering over your Post Item (1) and getting the ID from the info box that appears on the bottom left of your browser window (2)

Display Post/Page/Custom Post type IDs with a Plugin

The easy solution comes with the use a of plugin.

Reveal IDs, a great free plugin that shows the IDs of posts, pages, categories, custom taxonomies, custom post types, etc!

After installing the plugin you can see the ID column in your post/page and all your listings in general.

 

 

Get access to all WordPress themes & plugins

24/7 Support Included. Join 115,000+ satisfied customers.

Pricing & Sign Up

30-day money-back guarantee. Not satisfied? Your money back, no questions asked.

Back to top