Categories
css wordpress

wordpresscssのcssのキャッシュを無効化させるには

wp_enqueue_style( 'child-theme', get_stylesheet_uri().'?ver='.filemtime( TEMPLATEPATH.'/style.css' ), array(), NULL );

Leave a Reply

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