Created
March 16, 2017 16:21
-
-
Save halgatewood/a5279c250cc8da6001826d565a688b01 to your computer and use it in GitHub Desktop.
How to add icons to the Awesome Weather Widget Pro showcase template.
This file contains hidden or 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 foreach( $weather_forecast as $forecast ) { ?> | |
| <div class="awesome-weather-forecast-day"> | |
| <i class="<?php echo $forecast->icon; ?>"></i> | |
| <div class="awesome-weather-forecast-day-abbr"><?php echo $forecast->day_of_week; ?></div> | |
| <div class="awesome-weather-forecast-day-temp"><?php echo $forecast->temp; ?></div> | |
| </div> | |
| <?php } ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment