WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WordPress Countdown Widget] Using a non-default plugin path

[Resolved] [Plugin: WordPress Countdown Widget] Using a non-default plugin path

  • parkersweb

    @parkersweb

    Hey there,

    Thanks for this plugin – really useful. One thing I wanted to just flag up is that if you have moved the content folder outside of the wordpress directory it can no longer find the css and js files.

    If you update the enqueue_script, and enqueue_style as follow:

    wp_enqueue_script('countdown', plugins_url('/js/jquery.countdown.min.js', __FILE__), 'jquery', '1.0', false);
    
    wp_enqueue_style('countdown-style', plugins_url('css/jquery.countdown.css', __FILE__), '', '1.1', false);

    It all works fine – perhaps this could be incoporated into a future version?

    Thanks!

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: WordPress Countdown Widget] Using a non-default plugin path’ is closed to new replies.