/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<link rel="stylesheet" href="<?php $theme_data = get_theme_data(TEMPLATEPATH . '/style.css'); bloginfo('stylesheet_url'); echo '?' . $theme_data['Version']; ?>" type="text/css" media="screen, projection" />
URL: http://www.wprecipes.com/prevent-wordpress-stylesheet-from-being-cached/comment-page-1#comment-12047
Comments
