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?
- The topic ‘[Plugin: WordPress Countdown Widget] Using a non-default plugin path’ is closed to new replies.