WordPress.org

Support

Support » Plugins and Hacks » T(-) Countdown » [Resolved] [Plugin: T(-) Countdown] CSS Caching Problems

[Resolved] [Plugin: T(-) Countdown] CSS Caching Problems

  • 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 ) );

    http://wordpress.org/extend/plugins/jquery-t-countdown-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Baden

    @baden03

    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?!

    Plugin Author Baden

    @baden03

    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?!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: T(-) Countdown] CSS Caching Problems’ is closed to new replies.
Skip to toolbar