Changeset 45218 for trunk/src/wp-content/themes/twentysixteen/functions.php
- Timestamp:
- 04/16/2019 06:21:24 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentysixteen/functions.php
r45213 r45218 368 368 369 369 // Theme stylesheet. 370 wp_enqueue_style( 'twentysixteen-style', get_stylesheet_uri() , array(), wp_get_theme()->get( 'Version' ));370 wp_enqueue_style( 'twentysixteen-style', get_stylesheet_uri() ); 371 371 372 372 // Theme block stylesheet. 373 wp_enqueue_style( 'twentysixteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentysixteen-style' ), wp_get_theme()->get( 'Version' ));373 wp_enqueue_style( 'twentysixteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentysixteen-style' ), '20181230' ); 374 374 375 375 // Load the Internet Explorer specific stylesheet. 376 wp_enqueue_style( 'twentysixteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentysixteen-style' ), wp_get_theme()->get( 'Version' ));376 wp_enqueue_style( 'twentysixteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentysixteen-style' ), '20160816' ); 377 377 wp_style_add_data( 'twentysixteen-ie', 'conditional', 'lt IE 10' ); 378 378 379 379 // Load the Internet Explorer 8 specific stylesheet. 380 wp_enqueue_style( 'twentysixteen-ie8', get_template_directory_uri() . '/css/ie8.css', array( 'twentysixteen-style' ), wp_get_theme()->get( 'Version' ));380 wp_enqueue_style( 'twentysixteen-ie8', get_template_directory_uri() . '/css/ie8.css', array( 'twentysixteen-style' ), '20160816' ); 381 381 wp_style_add_data( 'twentysixteen-ie8', 'conditional', 'lt IE 9' ); 382 382 383 383 // Load the Internet Explorer 7 specific stylesheet. 384 wp_enqueue_style( 'twentysixteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentysixteen-style' ), wp_get_theme()->get( 'Version' ));384 wp_enqueue_style( 'twentysixteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentysixteen-style' ), '20160816' ); 385 385 wp_style_add_data( 'twentysixteen-ie7', 'conditional', 'lt IE 8' ); 386 386 … … 419 419 function twentysixteen_block_editor_styles() { 420 420 // Block styles. 421 wp_enqueue_style( 'twentysixteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), wp_get_theme()->get( 'Version' ));421 wp_enqueue_style( 'twentysixteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20181230' ); 422 422 // Add custom fonts. 423 423 wp_enqueue_style( 'twentysixteen-fonts', twentysixteen_fonts_url(), array(), null );
Note: See TracChangeset
for help on using the changeset viewer.