How to Find Your WordPress Page ID and Post ID

For some reasons, if you want to find out the WordPress Page ID or Post ID, then this post is for you.

Page and post IDs are required both when you’re using plugins and working with code. However, WordPress doesn’t make it especially obvious where you can find the ID for posts and pages.

In this quick tutorial I will show you how to find the hidden Page ID or Post ID in WordPress.

Let’s find WordPress Post ID

  1. Navigate to WordPress dashboard http://your-domain.com/wp-admin/
  2. Now click Posts > All Posts
  3. Now select any post by clicking the Post title
    Find Post ID
  4. Once the page has opened, you need to look at the URL in your web browser’s address bar. Here, you will find the Post ID number displayed within the page URL
    Find Post ID

Let’s find WordPress Page ID

The steps is almost similar to finding Post ID

  1. Navigate to WordPress dashboard http://your-domain.com/wp-admin/
  2. Now click Pages > All Pages
  3. Now select any page by clicking the Page title
    Find Page ID
  4. Once the page has opened, you need to look at the URL in your web browser’s address bar. Here, you will find the Page ID number displayed within the page URL
    Find Page ID

Hope this article is helpful.

Credits

Leave a Comment