Make WordPress Core


Ignore:
Timestamp:
11/05/2010 02:25:41 AM (14 years ago)
Author:
markjaquith
Message:

Add Post Format support to TwentyTen. Can now use this to designate an Aside or a Gallery! see #14746

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/functions.php

    r16174 r16197  
    7878    add_editor_style();
    7979
    80     // Temporarily add Post Format support
    81     add_theme_support( 'post-formats', array( 'aside', 'video', 'image' ) );
     80    // Post Format support. You can also use the legacy "gallery" or "asides" (note the plural) categories.
     81    add_theme_support( 'post-formats', array( 'aside', 'gallery' ) );
    8282
    8383    // This theme uses post thumbnails
Note: See TracChangeset for help on using the changeset viewer.