Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

WP Stylesheet Auto Update

Code to put a query variable with a timestamp to the css so that when updated it doesn’t grabbed a cached version.

<link rel="stylesheet" href="<?php 
 
	bloginfo( 'stylesheet_url' ); 
	echo '?' . filemtime( get_stylesheet_directory() . '/style.css'); 
 
	?>" />