Last active
September 26, 2017 21:17
-
-
Save halgatewood/0cb4bc54c32deaaf14c843beb118a5a8 to your computer and use it in GitHub Desktop.
A simple template for the Awesome Weather Widget Pro that shows text only. (68°F / 20°C Partly Cloudy)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if( isset($weather->data['current'])) { ?> | |
<div class="awe-weather"> | |
<?php if($weather->show_icons) { ?><i class="<?php echo $weather->data['current']['icon']; ?>"></i><?php } ?> | |
<?php echo $weather->data['current']['temp']; ?>°F / <?php echo awe_f_to_c($weather->data['current']['temp']); ?>°C | |
<?php echo $weather->data['current']['description']; ?> | |
</div> | |
<?php } ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment