Changeset 26227
- Timestamp:
- 11/15/2013 09:19:33 PM (11 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfourteen
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r26225 r26227 98 98 ) ); 99 99 100 /* 101 * This theme allows users to set a custom background. 102 */ 100 // This theme allows users to set a custom background. 103 101 add_theme_support( 'custom-background', apply_filters( 'twentyfourteen_custom_background_args', array( 104 102 'default-color' => 'f5f5f5', 105 103 ) ) ); 106 104 107 /* 108 * Add support for featured content. 109 */ 105 // Add support for featured content. 110 106 add_theme_support( 'featured-content', array( 111 107 'featured_content_filter' => 'twentyfourteen_get_featured_posts', … … 113 109 ) ); 114 110 115 /* 116 * This theme uses its own gallery styles. 117 */ 111 // This theme uses its own gallery styles. 118 112 add_filter( 'use_default_gallery_style', '__return_false' ); 119 113 } -
trunk/src/wp-content/themes/twentyfourteen/header.php
r26097 r26227 33 33 <body <?php body_class(); ?>> 34 34 <div id="page" class="hfeed site"> 35 <?php do_action( 'before' ); ?>36 37 35 <?php if ( get_header_image() ) : ?> 38 36 <div id="site-header"> -
trunk/src/wp-content/themes/twentyfourteen/image.php
r26217 r26227 74 74 <nav id="image-navigation" class="navigation image-navigation"> 75 75 <div class="nav-links"> 76 < ?php previous_image_link( false, __( '<div class="previous-image">Previous Image</div>', 'twentyfourteen' ) ); ?>77 < ?php next_image_link( false, __( '<div class="next-image">Next Image</div>', 'twentyfourteen' ) ); ?>76 <div class="previous-image"><?php previous_image_link( false, __( 'Previous Image', 'twentyfourteen' ) ); ?></div> 77 <div class="next-image"><?php next_image_link( false, __( 'Next Image', 'twentyfourteen' ) ); ?></div> 78 78 </div><!-- .nav-links --> 79 79 </nav><!-- #image-navigation --> -
trunk/src/wp-content/themes/twentyfourteen/inc/customizer.php
r26211 r26227 35 35 ) ) ); 36 36 37 add_filter( 'theme_mod_accent_mid', 'twentyfourteen_accent_mid');37 add_filter( 'theme_mod_accent_mid', 'twentyfourteen_accent_mid' ); 38 38 add_filter( 'theme_mod_accent_light', 'twentyfourteen_accent_light' ); 39 39 … … 139 139 */ 140 140 function twentyfourteen_rebuild_accent_colors() { 141 set_theme_mod( 'accent_mid', twentyfourteen_accent_mid());141 set_theme_mod( 'accent_mid', twentyfourteen_accent_mid() ); 142 142 set_theme_mod( 'accent_light', twentyfourteen_accent_light() ); 143 143 } … … 158 158 return; 159 159 160 $accent_mid = get_theme_mod( 'accent_mid');160 $accent_mid = get_theme_mod( 'accent_mid' ); 161 161 $accent_light = get_theme_mod( 'accent_light' ); 162 162 … … 318 318 }'; 319 319 320 321 320 wp_add_inline_style( 'twentyfourteen-style', $css ); 322 321 } -
trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php
r26152 r26227 163 163 * when on index views, and a div element when on a single view. 164 164 * 165 * @since Twenty Fourteen 1.0 166 * 165 167 * @return void 166 168 */ -
trunk/src/wp-content/themes/twentyfourteen/js/functions.js
r26084 r26227 111 111 if ( body.is( '.slider' ) ) { 112 112 $( '.featured-content' ).featuredslider( { 113 selector: 113 selector: '.featured-content-inner > article', 114 114 controlsContainer: '.featured-content' 115 115 } ); -
trunk/src/wp-content/themes/twentyfourteen/search.php
r26217 r26227 40 40 get_sidebar(); 41 41 get_footer(); 42 -
trunk/src/wp-content/themes/twentyfourteen/sidebar-content.php
r26030 r26227 12 12 ?> 13 13 <div id="content-sidebar" class="content-sidebar widget-area" role="complementary"> 14 <?php do_action( 'before_sidebar' ); ?>15 16 14 <?php dynamic_sidebar( 'sidebar-2' ); ?> 17 15 </div><!-- #content-sidebar --> -
trunk/src/wp-content/themes/twentyfourteen/sidebar.php
r25979 r26227 24 24 <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?> 25 25 <div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary"> 26 <?php 27 do_action( 'before_sidebar' ); 28 dynamic_sidebar( 'sidebar-1' ); 29 ?> 30 </div><!-- #primary-sidebar .primary-sidebar --> 26 <?php dynamic_sidebar( 'sidebar-1' ); ?> 27 </div><!-- #primary-sidebar --> 31 28 <?php endif; ?> 32 29 </div><!-- #secondary -->
Note: See TracChangeset
for help on using the changeset viewer.