User Location Widget
This example widget has user detection turned on. If it cannot find your location it will default back to Oklahoma City, OK.
[awesome-weather location="OKC" size="tall" inline_style="max-width:300px; width: 100%; margin: 0 auto;" forecast_days="4" use_user_location="1"]
Icons
Icons are included in the Pro version of the Awesome Weather Widget. They can be included in the shortcode with show_icons="1"
. I also set the inline stype to 400 pixels tall.
[awesome-weather size="wide" location="Oklahoma City, US" show_icons="1" forecast_days="4" inline_style="max-width:400px; height: 400px; width: 100%; margin: 0 auto;" background="https://halgatewood.com/wp-content/uploads/2014/06/okc.jpg"]
Allow User to Change the Location
This example widget has a map icon in the corner that allows the user to select a different location. The shortcode attribute for this is: allow_user_to_change="1"
.
[awesome-weather location="New York, US" size="showcase" override_title="Showcase Theme" background_by_weather="1" units="F" use_user_location="1" allow_user_to_change="1" show_icons="1"]