How to find WordPress Page ID Solution
Ok, this is going to sound really stupid and I’ll bet everyone knows the answer but silly old me. The question is:
- Using the latest version of WordPress (2.8.5)
How do you find the WordPress Page or Post ID?
The problem is, I want to exclude links to pages such as my About page from the pages listing in the sidebar. When using the Pages Widget (which I am) the instructions say:
This is fine if you use Page IDs but being human I prefer (like most humans) to use Permalinks to improve the aesthetics, usability, and forward-compatibility of my links. Entering text such as, About or "About" doesn’t work.
In WordPress 2.5 and later the Page and Post IDs are not shown in the WordPress admin panel anymore, so how do you find the WordPress Page IDs?
- Login as administrator, go to:
Dashboard > Pages > Edit
Dashboard > Posts > Edit
and hover your cursor over the title of the page or Post. Now, if you look in your browsers status bar (bottom of the screen) you will see the full page URL including at the end the Page or Post ID.
If you need a more permanent display, click on the title of the Page or Post and look in your browsers address bar. Once again you will see the full page URL including at the end the Page or Post ID.
This is a solution, but (there’s always a but) there has to be a better way. Answers on a post card to … or just post your solution for the world to see in the space provided below. Many thanks.