Skip to content

Commit

Permalink
Add support for post formats, see #4
Browse files Browse the repository at this point in the history
  • Loading branch information
lancewillett committed Feb 13, 2012
1 parent 78991ca commit 55af48d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/functions/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ function twentytwelve_setup() {
// Add default posts and comments RSS feed links to <head>.
add_theme_support( 'automatic-feed-links' );

// Add support for a variety of post formats
add_theme_support( 'post-formats', array( 'aside', 'image', 'link', 'quote' ) );

// This theme uses wp_nav_menu() in one location.
register_nav_menu( 'primary', __( 'Primary Menu', 'twentytwelve' ) );

Expand Down

0 comments on commit 55af48d

Please sign in to comment.