BuilderChild-Default

From IThemes Codex
Revision as of 03:19, March 3, 2011 by Sridhar (Talk | contribs)
Jump to: navigation, search

Contents

How to enable Post Formats

WordPress 3.1 includes a new feature called Post Formats that lets the site admin enable additional post formats besides the default one termed as "Standard" when creating/editing a post.

Format-metabox.png

To use this feature, add the following to your theme's functions.php:

// ADD POST FORMATS
add_theme_support( 'post-formats', array( 'aside', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video', 'audio' ) );

If you have not used functions.php in BuilderChild-Default so far, download this file, name it as functions.php and upload it to your child theme directory, i.e., to wp-content/themes/BuilderChild-Default.

Also see http://codex.wordpress.org/Post_Formats#Using_Formats

Item 2

Item 3

Item 4

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox