how to find page id in wordpress
Exclusive Bonus: Download the Ultimate WordPress Website Checklist including everything you need to make sure your site is ready and optimized for your visitors.
It’s called Pepper and it’ll help you build awesome sites.
Posted on May 7, 2019 by John Hughes in Tips & Tricks
Even for pages, WordPress will still use post in the URL. For example, here’s what it looks like to find the page ID of a WordPress page:
For example, if you’re using Google Analytics plugin, you can prevent tracking of some posts using their ids.
If you have to view many IDs at once, you may use a plugin to ease the process. Reveal IDs is one of the many plugins used for viewing IDs easily. If you need help with plugin installation, read our article on how to install plugins.
Just scroll over the post name you want the number of, and you will be able to see post ID in the bottom.
When done this way, the post ID is in the address bar on top. As in the previous example, ID will again be sandwiched between the “post=” and the “&.”
- The Page ID is hidden in the URL. Look for post= and the number to the right of it is your Page ID. In the image below, the ID is 6.
1″ :pagination=”pagination” :callback=”loadData” :options=”paginationOptions”>