WordPress.org

Make WordPress Core

Ticket #24109: 24109.2.diff

File 24109.2.diff, 1.3 KB (added by DrewAPicture, 12 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. 
     70         * This theme supports all available post formats by default. 
    7171         * See http://codex.wordpress.org/Post_Formats 
    7272         * 
    73          * Structured post formats are formats where Twenty Thirteen handles the 
    74          * output instead of the default core HTML output. 
     73         * For most formats, we don't need to explicitly state support. These include 
     74         * Aside, Audio, Chat, Gallery, Image, Quote, Status, and Video. 
     75         * 
     76         * Structured post formats, however, are formats where the theme handles 
     77         * the output instead of the default core HTML output. In the case of 
     78         * Twenty Thirteen, only the structured Link format needs to be declared. 
     79         * See twentythirteen_get_link_url() 
    7580         */ 
    7681        add_theme_support( 'structured-post-formats', array( 
    77                 'link', 'video' 
     82                'link' 
    7883        ) ); 
    79         add_theme_support( 'post-formats', array( 
    80                 'aside', 'audio', 'chat', 'gallery', 'image', 'quote', 'status' 
    81         ) ); 
    8284 
    8385        /* 
    8486         * Custom callback to make it easier for our fixed navbar to coexist with