I added some changes to theme's CSS, but they are not reflected yet.

To automatically purge CSS' cache, add random numbers, letters , versions for variable to end of CSS file name in the header.php of your theme.
Here is one of example code:

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

For more detail of these functions checkout wp_enqueue_style() section of WordPress.org official documents:
https://developer.wordpress.org/reference/functions/wp_enqueue_style/

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk