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  Francisco 1 year, 12 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
    Post count: 444

    Nick has a tutorial: http://designsbynickthegeek.com/tutorials/versioning-your-stylesheet


    If you need technical support for your theme please file a ticket.

    The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.

    #6963

    Francisco
    Participant
    Post count: 12

    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.