WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. marshalp
    Member
    Posted 2 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 ) );

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

  2. Baden
    Member
    Plugin Author

    Posted 2 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
    Member
    Plugin Author

    Posted 2 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

About this Topic