Title: Cache Busting Theme CSS (if used)
Last modified: September 2, 2019

---

# Cache Busting Theme CSS (if used)

 *  Resolved [rambillo](https://wordpress.org/support/users/rambillo/)
 * (@rambillo)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cache-busting-theme-css-if-used/)
 * Hello! Love the plugin, thanks!
 * Not sure if this is an option in the pro version, but in the free version, we
   would appreciate being able to have the theme’s version # applied/appended to
   the theme’s CSS, if used for the Print page – e.g. checked “Use Theme CSS For
   Print Page” feature. That way, we can get cache busting of that CSS file whenever
   the theme is updated. Some aggressively cached sites won’t otherwise pickup that
   latest theme CSS, as we have encountered.
 * NB: Only `style.css` is utilized with the “Use Theme CSS For Print Page” feature.
 * Here’s one way that might be achieved:
 * Using current Print-O-Matic plugin v1.7.12, in file `print-o-matic.php`, change
   line 183 from:
    `$pom_site_css = get_stylesheet_uri();` to: `$pom_site_css = 
   get_stylesheet_uri() . '?ver=' . wp_get_theme()->get( 'Version' );`

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cache-busting-theme-css-if-used/#post-11891805)
 * hey, that’s a good idea.
    if you like to dabble in code, why not [submit a pull request](https://github.com/baden03/print-o-matic)(
   wink-wink)
 *  Thread Starter [rambillo](https://wordpress.org/support/users/rambillo/)
 * (@rambillo)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cache-busting-theme-css-if-used/#post-11892096)
 * Great idea! Done. ✔️

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cache Busting Theme CSS (if used)’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/print-o-matic_b2b2b2.svg)
 * [Print-O-Matic](https://wordpress.org/plugins/print-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/print-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/print-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/print-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/print-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/print-o-matic/reviews/)

## Tags

 * [cache busting](https://wordpress.org/support/topic-tag/cache-busting/)

 * 2 replies
 * 2 participants
 * Last reply from: [rambillo](https://wordpress.org/support/users/rambillo/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/cache-busting-theme-css-if-used/#post-11892096)
 * Status: resolved