Appaending version number to style.css - by Mel Adams

This topic has 3 replies, 2 voices, and was last updated 3 years, 3 months ago ago by Mel Adams

  • Avatar: Mel_Adams
    Mel Adams
    Participant
    January 23, 2021 at 05:56

    Hi there,

    We are having issues with browser caching and I want to append a version number or timestamp to the child theme style.css. Can you tell me the best way of doing this in functions.php:

    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    etheme_child_styles();
    }

    Cheers

    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 23, 2021 at 14:31
    Avatar: Mel_Adams
    Mel Adams
    Participant
    January 24, 2021 at 05:51

    Thanks, I didn’t realise it had been turned off in another plugin.

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Appaending version number to style.css’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.