Adding version to CSS

Community Forums Forums Design Tips and Tricks Adding version to CSS

This topic is: resolved

Tagged: 

This topic contains 2 replies, has 3 voices, and was last updated by  Frank 2 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4690

    Anton
    Participant

    What’s the best way to add versioning to a CSS file, such as style.css?ver=1.0?

    Default:
    <link rel=”stylesheet” href=”/wp-content/themes/agentpress/style.css” type=”text/css” media=”screen” />

    Desired:
    <link rel=”stylesheet” href=”/wp-content/themes/agentpress/style.css?ver=1.0″ type=”text/css” media=”screen” />

    #4735

    Jen Baumann
    Keymaster
    #6963

    Frank
    Participant

    Thanks a lot Jen,

    that’s what I was looking for :)

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Adding version to CSS’ is closed to new replies.