zParacha.com

Effective programming and blogging tips by Zaheer Paracha

Subscribe:

-->
Posted by Zaheer 8 COMMENTS


One of the changes in WordPress 2.7 release is the disappearance of page id column from the admin console. As far as I know, currently there is no way to display the page id column.
Page ids can be used to exclude or arrange links to the pages in the navigation menu.
I use page id to exclude certain pages from appearing in my navigation menu.

So, without the convenient page id column how do you determine the page id for a particular page?

There are some plugins available that add the page id column back to your admin console.
But there is a simple way to determine the page id without installing any plugin.
Here is what you need to do to find the id of any page.

  • Log in to your WordPress admin console.
  • Click on Pages link, to go to the Edit Pages page.
  • You will see a list of all the pages with their names hyperlinked.
  • Hover your mouse over the name of the page whose id you need.
  • Keep an eye on your browser’s status bar.
  • In the status bar, following the name of the page you will see something like “?action=edit&post=12″
  • The number after “post=” is your page id. (12 in this example).

Until WordPress re-introduces the Page ID column this is the simplest way of determining the ID of a page.

Enjoy.

Bookmark and Share

Popularity: 17% [?]

If you enjoyed this post, make sure you subscribe to my RSS feed!

Related posts:

categories: Blogging

8 Responses

  1. Jason says:

    This was so helpful! I’ve been looking for my Page IDs for a while now and finally gave up and Googled it.

    Thanks!

  2. dyoonet says:

    Exactly what I was looking for. Thanks for sharing your tip! :)

  3. Soccergoalx says:

    Thanks for your information. I was struggling to look for the page ID.

  4. Zaheer says:

    @Soccergoalx, I am glad you found this post helpful.

  5. Chris says:

    Excellent! Thank you very much!

  6. John says:

    How do we determine content via the page ID for 2.7?

    if ($page->ID == 31) {}

    no longer works!

  7. liadeavek says:

    Je pense que c’est le mensonge. achat de viagra De pis en pis. generique viagra

  8. Stephenie says:

    I’m using 2.9.2 and this works. I just didn’t know to look in the status bar. Thanks so much!!!

Leave a Reply

Search

Sponsors

Get Adobe Flash playerPlugin by wpburn.com wordpress themes