Skip to content
Home » Update version of style.css for wordpress theme

Update version of style.css for wordpress theme

  • by

Spent few hours to upgrade the version of `style.css` for a wordpress theme

Finally got following, Assume you want to bump up the version of style.css for twentysixteen theme.

Go To
/wp-content/themes/twentysixteen/functions.php

function twentysixteen_scripts() {
	// Add custom fonts, used in the main stylesheet.
	wp_enqueue_style( 'twentysixteen-fonts', twentysixteen_fonts_url(), array(), null );

	// Add Genericons, used in the main stylesheet.
	wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.4.2' );

	// Theme stylesheet.
	//wp_enqueue_style( 'twentysixteen-style', get_stylesheet_uri() );
	wp_enqueue_style( 'twentysixteen-style', get_stylesheet_uri(), array(), '5.4.3' );
...

Leave a Reply

Your email address will not be published. Required fields are marked *