
How-To Find a WordPress Page ID and Why You Would Want To
The majority of the time when you want to display specific posts or pages throughout your website in certain areas, you will need to grab your WordPress page ID or post ID, and insert them into other plugins or widgets in order to pull the correct posts out to display.
For example, if you own a cooking website, like Nora Cooks (featured below), and want to display your most popular vegan recipes in your sidebar, you’ll want to find your category ID for your category: vegan, to pull those posts in.

Photo courtesy of – Nora Cooks
Let’s dive into the details of how and where you can find the ID’s for your posts, pages and categories!
Find a WordPress Page ID or Post ID Through a URL
The first step is to login to the WordPress dashboard of your website.
Note: For both ‘Pages’ and ‘Posts’, the ID in the URL is referred to as a post=(ID)

Find a Page ID in WordPress
1. Navigate to your Pages > All Pages
2. Click ‘Edit’ on the page you want the ID
3. Once you are in Edit mode, look at the URL and find the segment that has ‘post=xxxxx’
4. The numbers after the = is the Page ID

Find a Post ID in WordPress
1. Navigate to your Posts > All Posts
2. Click ‘Edit’ on the post you want the ID
3. Once you are in Edit mode, look at the URL and find the segment that has ‘post=xxxxx’
4. The numbers after the = is the Post ID
Included in all our hosting plans.

Included in all our hosting plans.
How-to Find a Category ID in WordPress
Finding a Category ID in WordPress can be a little bit tricky, since your categories are located under your Posts, but you’ll definitely want to know how to do it so you can feature content from specific categories in relevant areas of your website.
Find a Category ID tag in WordPress
1. Navigate to your Posts > Categories
2. Click ‘Edit’ on the category for which you want to find the tag ID
3. Once you are in Edit mode, look at the URL and find the segment that has ‘tag_ID=’
4. The number(s) after the = is the Category ID tag
Enjoy this post? Let’s get started working together!

