WordPress.org

Make WordPress Core

Ticket #24109: 24109.1.diff

File 24109.1.diff, 1.3 KB (added by lancewillett, 23 months ago)
  • wp-content/themes/twentythirteen/functions.php

     
    6767        add_theme_support( 'automatic-feed-links' ); 
    6868 
    6969        /* 
    70          * This theme supports all available post formats. 
    71          * See http://codex.wordpress.org/Post_Formats 
     70         * This theme supports all available post formats by default. 
     71         * See http://codex.wordpress.org/Post_Formats   
     72         * For most formats we don't need to explicitly state support, including 
     73         * Aside, Audio, Chat, Gallery, Image, Quote, Status, and Video 
    7274         * 
    73          * Structured post formats are formats where Twenty Thirteen handles the 
    74          * output instead of the default core HTML output. 
     75         * Structured post formats, however, are formats where the theme handles 
     76         * the output instead of the default core HTML output. This means only 
     77         * Link, in the case of Twenty Thirteen. 
    7578         */ 
    7679        add_theme_support( 'structured-post-formats', array( 
    77                 'link', 'video' 
     80                'link' 
    7881        ) ); 
    79         add_theme_support( 'post-formats', array( 
    80                 'aside', 'audio', 'chat', 'gallery', 'image', 'quote', 'status' 
    81         ) ); 
    8282 
    8383        /* 
    8484         * Custom callback to make it easier for our fixed navbar to coexist with