- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r42343 r43571 92 92 */ 93 93 add_theme_support( 94 'html5', array( 94 'html5', 95 array( 95 96 'search-form', 96 97 'comment-form', … … 106 107 */ 107 108 add_theme_support( 108 'post-formats', array( 109 'post-formats', 110 array( 109 111 'aside', 110 112 'image', … … 119 121 // This theme allows users to set a custom background. 120 122 add_theme_support( 121 'custom-background', apply_filters( 122 'twentyfourteen_custom_background_args', array( 123 'custom-background', 124 apply_filters( 125 'twentyfourteen_custom_background_args', 126 array( 123 127 'default-color' => 'f5f5f5', 124 128 ) … … 128 132 // Add support for featured content. 129 133 add_theme_support( 130 'featured-content', array( 134 'featured-content', 135 array( 131 136 'featured_content_filter' => 'twentyfourteen_get_featured_posts', 132 137 'max_posts' => 6, … … 287 292 wp_enqueue_script( 'twentyfourteen-slider', get_template_directory_uri() . '/js/slider.js', array( 'jquery' ), '20131205', true ); 288 293 wp_localize_script( 289 'twentyfourteen-slider', 'featuredSliderDefaults', array( 294 'twentyfourteen-slider', 295 'featuredSliderDefaults', 296 array( 290 297 'prevText' => __( 'Previous', 'twentyfourteen' ), 291 298 'nextText' => __( 'Next', 'twentyfourteen' ), … … 424 431 continue; 425 432 } 426 ?>433 ?> 427 434 428 435 <div class="contributor"> … … 441 448 </div><!-- .contributor --> 442 449 443 <?php450 <?php 444 451 endforeach; 445 452 }
Note: See TracChangeset
for help on using the changeset viewer.