How to Find Page or Post IDs

There are two ways to grab your page IDs:

Option One: Inspect Element

  1. Right click on your page and choose “inspect element”. A bar will open up with some coding.
  2. Scroll to the top to find your page ID. It will look something like “page-id-117”. This means that 117 is the page ID for this specific page.

Option Two: URL in Edit Screen

  1. From your WordPress dashboard, go to Pages, and then click on the page you need the ID for.
  2. Now in the edit screen, look at the URL in your web browser.
  3. The page ID is the number in the URL