WordPress.org

Make WordPress Core

Ticket #24109: 24109.3.diff

File 24109.3.diff, 972 bytes (added by lancewillett, 12 months ago)
  • wp-content/themes/twentythirteen/functions.php

     
    7878        add_theme_support( 'automatic-feed-links' ); 
    7979 
    8080        /* 
    81          * This theme supports all available post formats. 
     81         * This theme supports all available post formats by default. 
    8282         * See http://codex.wordpress.org/Post_Formats 
    83          * 
    84          * Structured post formats are formats where Twenty Thirteen handles the 
    85          * output instead of the default core HTML output. 
    8683         */ 
    87         add_theme_support( 'structured-post-formats', array( 
    88                 'link', 'video' 
    89         ) ); 
    9084        add_theme_support( 'post-formats', array( 
    91                 'aside', 'audio', 'chat', 'gallery', 'image', 'quote', 'status' 
     85                'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video' 
    9286        ) ); 
    9387 
    9488        // This theme uses wp_nav_menu() in one location.