Created
May 26, 2013 11:26
-
-
Save jswhisperer/5652518 to your computer and use it in GitHub Desktop.
WordPress: quick cache bust for stylesheets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); echo '?' . filemtime( get_stylesheet_directory() . '/style.css'); ?>" type="text/css" media="screen"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment