WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Countdown Widget
[resolved] [Plugin: WordPress Countdown Widget] Using a non-default plugin path (2 posts)

  1. parkersweb
    Member
    Posted 1 year ago #

    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/

  2. Metin Saylan
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    I fixed this issue with version 2.5.3.

    Thanks for the tip.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.