Skip to content

Instantly share code, notes, and snippets.

@halgatewood
Created February 19, 2018 20:49
Show Gist options
  • Save halgatewood/32001a689cdc8d8a6c565db8fd43a9f9 to your computer and use it in GitHub Desktop.
Save halgatewood/32001a689cdc8d8a6c565db8fd43a9f9 to your computer and use it in GitHub Desktop.
<?php if( isset($weather->data['current'])) { ?>
<div class="awesome-weather-forecast-day">
<?php if($weather->show_icons) { ?><i class="<?php echo $weather->data['current']['icon']; ?>"></i><?php } ?>
<div class="awesome-weather-forecast-day-abbr"><?php echo $weather->t->now; ?></div>
<div class="awesome-weather-forecast-day-temp"><?php echo $weather->data['current']['temp']; ?></div>
</div>
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment