This quick reference / cheatsheet is for the WordPress $post object. This object contains a bunch of info specific to each WordPress post. Scroll down for the complete table of object properties.
Download Printable versions (PDF)
How to use the $post object
The values in the chart below can be accessed for a given post within the loop using the following syntax:
…where key is the property you want to access below. For example, you'll notice at the top of this post is a post summary within a formatted div element. The summary is just a formatted version of the post excerpt, but if there's no post excerpt I don't want that div element showing up empty, so in that case, I hide it using the following code:
$post Object properties
Thanks to everyone who commented on this post to help fill in some of the missing values!