WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/04/2010 07:41:07 AM (9 years ago)
Author:
markjaquith
Message:

add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746

File:
1 edited

Legend:

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

    r16028 r16174  
    7777    // This theme styles the visual editor with editor-style.css to match the theme style.
    7878    add_editor_style();
     79
     80    // Temporarily add Post Format support
     81    add_theme_support( 'post-formats', array( 'aside', 'video', 'image' ) );
    7982
    8083    // This theme uses post thumbnails
Note: See TracChangeset for help on using the changeset viewer.