Location Weather Pro

  1. Home
  2. Docs
  3. Location Weather Pro
  4. Shortcode & Attribute

Shortcode & Attribute

Write the shortcode on page/post editor –


Attribute Default value Options Description
auto_location true true / false Activate / deactivate auto location detection option.

Note: The site has to be secured (SSL/https).

date true true / false Show/hide the current date.
humidity true true / false Show/hide humidity update.
wind true true / false Show / hide wind update.
unit f f / c Set temperature showing unit. “f” Fahrenheit and “c” for Celsius.
city london any city name Write the name of your city. To emphasize your location, include the county name too. e.g. Rome, Oneida
country GB ISO 3166 Country code Write the country code name if needs.
color code Set icon color.
color code Set text color.
background #fff color code Set background color.