How to find WordPress post and page ID

In WordPress, you can find the post and page IDs through the WordPress admin dashboard or directly from the post/page edit url.

Here is a simple guide to find your post/page ID via the Admin dashboard and post/page edit link.

Admin Dashboard:

  • Log in to your WordPress admin dashboard.
  • Navigate to the “Pages” or “Posts” section.
  • Hover over the page or post title, and you will see the ID displayed in the status bar of your browser. The ID is typically in the format “post=123” or “page=123”, where “123” represents the ID number.

Edit Page/Post URL:

  • Go to the “Pages” or “Posts” section in the admin dashboard.
  • Click on the page or post you want to find the ID for.
  • Look at the URL in your browser’s address bar. The ID is usually present as a query parameter and looks like “post=123” or “page=123”.