It’s a crazy bug causing this.
In the plugin, it makes sure that there’s data to display the HTML by checking !empty($wd)
.
in <?php if (!empty($wd)) { ?>
just before the HTML code, in the file beautiful-yahoo-weather/inc/shortcode.php
The think is that $wd
is the wind speed or whatever. If $wd
is 0 then !empty($wd)
will be false.
So to make it work change it to check if there’s a returned object or not. Replace the line before the HTML to <?php if (!empty($byw_feed->item)) { ?>
.