Post Types in WordPress

After I posted about Post Formats in WordPress a friend of mine asked this question:

“What’s the difference between post formats and post types?”

At the time I didn’t think there was any difference, but then I spent some time digging around in the WordPress documentation and reading a bunch of other people’s articles about WordPress, and I think I’ve come up with a way to understand what everybody’s talking about.

The confusion is due to the word “post” and how it’s used.

According to the codex there are five (5) built-in post types:

  • post
  • page
  • attachment
  • navigation menu
  • revision

You can also create custom post types. It turns out these are all stored in the same table in the WordPress database, but how they’re used is very different. Continue reading Post Types in WordPress

Post Formats in WordPress

One thing that I've wondered about for quite a while is the box on the right side of the Post Editor dialog that's titled Format. What do all those formats do? Are they really good for anything? Well today I decided to find out.

The post format documentation isn't all that helpful to me.

The Post Formats feature provides a standardized list of formats that are available to all themes that support the feature. Themes are not required to support every format on the list.

After reading more closely and following various discussions elsewhere, I understand that post format is a flag that can be used by a theme to change the way a post is displayed. That's all. The only one that has to be supported is "Standard" (which is this post's type). All other formats are optional, and if the theme doesn't support one it reverts back to Standard.

Continue reading Post Formats in WordPress

Example Chat

[The following is from a piece called Company Picnic I wrote for the RocNaNo blog.]

“Hey guys! Looks like lunch is here!”

“Great! I can hardly wait!”

“Me too! I wonder what’s on the menu today?”

“I don’t really care. I just hope it’s enough!”

“Yeah, I hear ya. Remember our last company picnic?”

“That was a disaster! Rachel said the caterer messed up the order, the caterer said Rache only ordered for two hundred instead of two thousand, and everybody went hungry.”

“Terrible mess, that was.”

Example Link

This is a post format that I've never used. Here's a link to First Draft Fiction. Ooo! That's cool - the title of the post becomes the link! I guess the body is supposed to be the description of where the link goes.