• Resolved nanchante

    (@nanchante)


    Hi,

    I need to increment the public.css file version…. how do i do this please?

    Should be simple I’m sure. Many thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @nanchante,

    I’m not quite sure what you mean. Can you explain a little more in detail what you are trying to achieve?

    Thread Starter nanchante

    (@nanchante)

    Hi.

    The css file for this plugin currently has a version number of 3.6.6

    I’ve made changes to the file, but people aren’t seeing it unless they clear cache.

    eg https://mywebsite…etaslider/public.css?ver=3.6.6

    I need to force this to public.css?ver=3.6.7

    Hi @nanchante

    We released 3.6.7 the other day so it should update when you update the plugin. Is that not happening?

    You could try to deregister the script then enqueue it again if you need to.

    function nanchante_alter_query_string() {
        wp_deregister_style('metaslider-public');
        wp_enqueue_style('metaslider-public', METASLIDER_ASSETS_URL . 'metaslider/public.css', false, '9.9.9');
    }
    add_action('metaslider_register_public_styles', 'nanchante_alter_query_string');

    Hi @nanchante,

    I’m closing this since we didn’t hear back from you. However, please open a new issue if you need to. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to increment the public.css version?’ is closed to new replies.