WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: World Clock Widget] Cities show, times don't (7 posts)

  1. rockdragon
    Member
    Posted 4 years ago #

    This seems like it could be a really great but simple widget but unfortunately the times don't show in WP 2.8. Are there plans for an update?

  2. xandertan
    Member
    Posted 4 years ago #

    Yes, I am doing it. Look for update on this coming weekend.

  3. xandertan
    Member
    Posted 4 years ago #

    Hi there, I found out that it works on my WordPress 2.8.0. Nevertheless, I will have another release coming soon. You can check this out: http://xandertan.selfip.org/dev/wp/2_8_0/

  4. xandertan
    Member
    Posted 4 years ago #

    rockdragon, I am still curious, can you send me your website address to xander_tan[{at)}users.sourceforge.net.

  5. xandertan
    Member
    Posted 4 years ago #

    I find an issue with the installation of this widget.

    Here is the thing if you download and unzip the worldclock widget from wordpress, you'd probably get the "world-clock-widget" folder. You have to rename this folder to worldclock before you put it into your wp-content/plugins directory.

    Failure to rename the world-clock-widget folder to worldclock, the widget will only show the city with no clock as the browser can't find the worldclock javascript.

    In short, I will fix this in the future.

  6. aneubau
    Member
    Posted 4 years ago #

    The bug can be found in line 386 of worlclock.php:
    echo '<script type="text/javascript" src="'.get_option('siteurl').'/wp-content/plugins/worldclock/worldclock.js"></script>';
    should be
    echo '<script type="text/javascript" src="'.get_option('siteurl').'/wp-content/plugins/world-clock-widget/worldclock.js"></script>';

  7. xandertan
    Member
    Posted 4 years ago #

    Hi aneubau, thanks for your help, I will incorporate the fix into 0.6.1 release.

Topic Closed

This topic has been closed to new replies.

About this Topic