Support » Themes and Templates » Versioning files

  • Resolved  


    The mainpage gives me a great example

    <style type="text/css">
    @import url("");
    <link rel="shortcut icon" href="" type="image/x-icon" />

    Or at the mainpage

    <link rel='stylesheet' id='wpsc-theme-css-css'  href='' type='text/css' media='all' />
    <link rel='stylesheet' id='wpsc-theme-css-compatibility-css'  href='' type='text/css' media='all' />

    As I’m trying to differentiate static components from dynamic components I wondered how this would be accomplished best?

Viewing 1 replies (of 1 total)


    After some digging it’s as easy as it looks like.
    Just add ?2 or ?ver=3.7.42 when something has been changed.

    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>?1" />

Viewing 1 replies (of 1 total)
  • The topic ‘Versioning files’ is closed to new replies.