WordPress Post Types

WP-Post-TypesI have SO much to learn about the ins and outs of the platform (aka WordPress) that runs the majority of the sites we view each day 😉

Currently working on understanding post types.


from WP Beginner’s article “What, Whys, and How to’s of Post Formats in WordPress 3.1” (read the rest HERE)

How to Add and Use Post formats in WordPress 3.1

Just like post thumbnails, Menus, Custom Backgrounds, and Custom headers, the post formats will also be a theme activated feature. What this means is that this feature will only be available if your theme is compatible.
Warning: You must have a fair understanding HTML, CSS, and the functions of the WordPress loop to follow this tutorial.
In order to activate “post formats” in WordPress 3.1, you will need to open your theme’s functions.php file and paste the following code:

add_theme_support( 'post-formats', array( 'aside', 'gallery' ) );

Note: aside and gallery are not the only available post formats.

The available list of post formats are:

  • aside – Typically styled without a title. Similar to a Facebook status update.
  • chat – A chat transcript.
  • gallery – A gallery of images.
  • link – A link to another site.
  • image – A single image.
  • quote – A quotation.
  • status – A short status update, usually limited to 140 characters. Similar to a Twitter status update.
  • video – A single video.

For the full list of post formats, refer to WordPress Codex.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s