- Timestamp:
- 11/07/2013 08:24:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r26026 r26037 240 240 wp_enqueue_script( 'jquery-masonry' ); 241 241 242 if ( 'slider' == get_theme_mod( 'featured_content_layout' ) )242 if ( is_front_page() && 'slider' == get_theme_mod( 'featured_content_layout' ) ) 243 243 wp_enqueue_script( 'twentyfourteen-slider', get_template_directory_uri() . '/js/slider.js', array( 'jquery' ), '20131028', true ); 244 244
Note: See TracChangeset
for help on using the changeset viewer.