WordPress.org

Forums

Uji Countdown
Plugin won´t work for me- FIX (5 posts)

  1. onkelalex
    Member
    Posted 3 years ago #

    Hi ujimoto,

    I installed your plugin and set everything up correctly but countdowns won´t show up in my articles.
    So I looked into your code and found out that the registration of jquery is missing. Or am I completly wrong?

    I add following line to your code in function ujic_scripts_register():

    wp_enqueue_script('jquery');

    Now everything works fine for me.
    Thank you for this great Plugin.

    Greetings onkelalex

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

  2. ujimoto
    Member
    Plugin Author

    Posted 3 years ago #

    You welcome. Great to hear that :)

  3. geekygirdy
    Member
    Posted 3 years ago #

    Where exactly does this code need to go? I'm having the same issues and the countdown will not show up.

    Could either of you help me with the exact location of where the code needs to go and what the code is?

    Thanks so much!!

  4. onkelalex
    Member
    Posted 3 years ago #

    Hi,

    you need to find the file uji-countdown.php and add the line
    wp_enqueue_script('jquery');
    in the following function. It´s the last function in the file.

    function ujic_scripts_register() {
    	wp_register_style('ujiStyleCount', UJI_PLUGIN_URL . '/css/jquery.countdown.css');
    	wp_register_script('UJI_js_countdown', UJI_PLUGIN_URL . '/js/jquery.countdown.js', array('jquery'), '1.0', true);
    	wp_enqueue_script('jquery');
    }

    Hope this helps.

  5. bergamot
    Member
    Posted 3 years ago #

    Hello everyone,

    I've added the line of code, but nevertheless I can't enable the timer. It doesn't show up on my page. And when adding the shortcode, I see no calendar where I can choose the date. So I paste it manually as follows:

    [ujicountdown id="1" expire="2012/06/14 23:59" hide = "true"]

    Maybe I do something wrong?

    Please help me ASAP! I need your timer badly!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Uji Countdown
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic