WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: World Clock Widget] delete space (3 posts)

  1. wereldbol
    Member
    Posted 5 years ago #

    Hello
    Could the space be deleted between WORLD CLOCK and the first installed clock?

    Grtz
    Filip

    http://wordpress.org/extend/plugins/world-clock-widget/

  2. SeekingSolace
    Member
    Posted 5 years ago #

    Go to "Plugins" then "Editor" and select "World Clock"

    Find this in "worldclock.php":

    function printDiv($wc_clocks) {
        echo '<br />';
        for($i=0; $i<count($wc_clocks); ++$i) {
          echo '<strong>'.$wc_clocks[$i]['city'].'</strong><div id="city'.$i.'"></div><br />';
        }

    Delete:
    echo '<br />';

    That's what I did to fix the display - there's still a line break after each city, which is how I wanted it.

    See http://www.eastisrelative.com/ to see how it shows up in my sidebar, if you like.

    Hope that helps.

  3. ijgrabo
    Member
    Posted 4 years ago #

    What about date format ?
    I am not very comfortable with codes and I can't find anything obvious for changing date format (like 25/10/2010)... any idea ?
    Thanks
    ij

Topic Closed

This topic has been closed to new replies.

About this Topic