Post ID Column

Add a Column to Easily Note the Post ID


After recently writing my post “Include a Post within a Page or Post“, I was in the process of writing a tutorial to give you an easier way to find the Post ID, by adding a column in the post editor screen.

Well, it seems that WP Snipp pipped me to the post as they just published a post doing exactly that. So rather than go through the rigmarole of writing the snippet myself, I’m going to give you his snippet. Drop it into your functionality plugin to use it:

Now when you go to your posts (or pages) screen, you’ll see that there’s an additional column that shows your post ID for easy reference. Pretty handy huh? Thanks for the snippet Kevin.

Categories: Code & Snippets | Permalink

What next?

Hire me

If you couldn't quite manage this yourself, find it too intimidating, or just don't have the time to do it, you can always hire Dave to do it. Please get in touch so that we can discuss your needs.

Leave a comment

If you have a question, update, or comment about the tutorial, please leave a comment. I try and respond to every comment, though it may take a few days, so please check back soon.

Let a WordPress Expert help you

Do you want to try this, but feel like you need a helping hand, in case something goes wrong? My service, The WP Butler, gives you access to WordPress expertise whenever you need it. Better yet, I'll keep your site backed up, updated and secure, so that you don't have to worry about it. It's all part of the service. Use coupon DIWW and save 15% on all plans.

Visit The WP Butler


Dave has been tinkering with WordPress for many years, and he now shares his WordPress knowledge here on Do It WIth WordPress to help others realise its impressive power. He can also be hired to help with your WordPress needs. Dave, who is British, is married to his best friend, Marti, with whom he has a beautiful daughter, Ellie. When he's not dabbling with WordPress, he's probably eating Triscuits or hummus, watching an indie film or British TV show, spending time with friends or family, or exploring the world.


  1. This is very useful. Considering blogs that have thousands of articles, knowing the post id can help a lot.

    But small blogs don’t need it, I think… or not? anyway, great post

  2. Hey glad to see that you like the snippet and yes this was something that I have found immensely useful.

  3. This is pretty cool, Dave. I just go to the permalink at the top of a post a click edit. The serial number shows up. I don’t really edit it!

    • Yeah, I was thinking of writing a quick tutorial that shows information about the post to just the admin on the post itself, including the Post ID for instance. Much simpler than hunting for it in a URL.

Leave a Reply