WordPress post ID

Last updated on November 28, 2011. Tags:

Post IDs are numerical values that WordPress assigned to all posts and all pages that it generates. Each post or page has a unique post ID, and even a post and a page cannot have the same post ID.

You can check the post ID by logging-in to your WordPress dashboard and opening the list of page or post, whichever entry you would like to check for post ID. Hover the mouse on the post or page title and check the URL in the status bar. The number at the end of that URL is the post ID for that post or page.

WordPress screenshot with the postID enclosed by a red circle.

In the illustration above, the post ID of the post entitled "Distance and displacement" is 18, as seen in the status bar at the bottom (encircled with red).

The post IDs are useful in a handful of WordPress tricks, such as, but not limited to the following:

Posted by Greten on April 1, 2009 under Definitions, WordPress

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon
  • Technorati

Related Posts

You might also be interested (randomly generated):

Post Comments





Comment Rules and Reminders

  • The links to the commentator's e-mail do not have nofollow tag. However, I will be very strict in approving comments.
  • When you comment, please say something that indicates that you indeed read my post. If your comment is a general statement that can fit to any blog post about any topic, it will be regarded as spam.
  • What you write in the name field may include keywords to your website provided that (1) it's only up to four words long and (2) at least one of these four words is your first name or nickname. I rather reply to Bob or to Joe Smith than to Online Marketing Tips.
  • Please double check your comment before clicking the "Post" button. Once you clicked it, there will be no way for you to edit your comment.
  • Fields marked with asterisks (*) are required. Your email will never be displayed in public.