WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/15/2013 04:45:42 PM (6 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: first pass at CSS revamp, props iamtakashi. See #25592.

File:
1 edited

Legend:

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

    r25769 r25788  
    101101        'default-color' => 'f5f5f5',
    102102    ) ) );
     103
     104    /*
     105     * This theme uses its own gallery styles.
     106     */
     107    add_filter( 'use_default_gallery_style', '__return_false' );
    103108}
    104109endif; // twentyfourteen_setup
     
    113118 */
    114119function twentyfourteen_content_width() {
    115     if ( is_page_template( 'full-width-page.php' ) || is_attachment() )
     120    if ( is_attachment() )
    116121        $GLOBALS['content_width'] = 810;
    117122}
Note: See TracChangeset for help on using the changeset viewer.