T(-) Countdown
[resolved] CSS Caching Problems (3 posts)

  1. marshalp
    Posted 3 years ago #

    I was having a problem with Jedi and Tie-Fighter cached versions of style.css, I fixed these problems by editing the countdown-timer.php file from this on line 46:

    wp_register_script('countdown-script', $plugin_url.'/js/jquery.t-countdown-1.0.js', array ('jquery'), '1.0' );

    To this:

    wp_register_style( 'countdown-'.$style.'-css', $plugin_url.'/css/'.$style.'/style.css', array('inline' => false ) );


  2. Baden
    Plugin Author

    Posted 3 years ago #

    Thanks for the bug report and what worked to fix it for you.
    how does preventing the javascript fie from loading work in the example you provided?

    Are you sure this is what you replaced?!

  3. Baden
    Plugin Author

    Posted 3 years ago #

    If you are experiencing cacheing issues, replacing the .js file with the .css file is generally NOT recommended. Again, are you sure the above code is actually is what you replaced?!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • T(-) Countdown
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic