WordPress.org

Support

Support » Plugins and Hacks » [Plugin: World Clock Widget] delete space

[Plugin: World Clock Widget] delete space

Viewing 2 replies - 1 through 2 (of 2 total)
  • SeekingSolace
    Member

    @seekingsolace

    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.

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: World Clock Widget] delete space’ is closed to new replies.