Forum Replies Created

Viewing 1 replies (of 1 total)
  • 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 https://www.eastisrelative.com/ to see how it shows up in my sidebar, if you like.

    Hope that helps.

Viewing 1 replies (of 1 total)