Weather Plugin

 

Brief: this plugin enables you to display the weather of one specifies country  or multiple ones based on the plugin settings. The plugin is developed as well to display the weather of the visitor’s city by reading the latitude and longitude data. 


Firstly: Weather Settings: 

1-Log in to the control panel

2-From the setting list, select (Plugins settings) as the below picture: 

3-A list will show up, choose (Weather settings) as shown below: 

The below setting options will show up: 

-Activate Weather: activate or deactivate the plugin.

-Weather Enabled Cities: add cities that you want to display their weather. Press (more) to add extra cities (maximum 5 cities). 

-API KEY: you can get the API key after creating an account on the application website using the link below: 

https://www.worldweatheronline.com/developer/api/

After creating an account, you will get a Premium API KEY that is valid for only 2 months, you will need to purchase a key with validity for one month or a year as required. 

You can get the API key as shown in the below picture: 

09

-Number of requests per day: see the number of requests processed each day. 

-Enable US Metrics for measuring wind speed: this is an American physical unit that measures the wind speed, temperature, and pressure. Activating it will change the weather displaying method. 

-Number of days for extended weather forecast: enter the number of days of which the weather is displayed on the website.

Press (Edit Setting) to save. 

 

Secondly: The plugin block displaying method on the website: 

The block (weather) can be added to any location on the website using the default layout, for more details, click here 

 

Noting that this plugin has two blocks; one for the visitor’s city and the other is for the cities you have selected in the plugin settings.

Was this answer helpful? 3 Users Found This Useful (9 Votes)