Help Center
How to Use Weather Widget

How to Use Weather Widget

This tutorial explains how to download the Weather API Key from WeatherBit.io to display weather information on your website using the JetElements Weather widget.

Before you start, check the tutorial requirements:

  • Elementor (Free version)

  • JetElements plugin installed and activated

Creating Weather API Key

Go to WeatherBit.io and complete the simple registration — type in your email, username, and password. Click the “Create Account” button.

WeatherBit registration

You will be asked to fill in some more info. You don’t need to fill every field; focus on the required ones (those with the * mark), then tap the “Proceed to Dashboard” button.

filling in weather.bit.io fields

That’s it; your Weather API is generated. Go to the API Keys/Admin tab, copy it, and insert it into the WordPress Integration page.

Things to know

If you plan to use the weather widget on commercial sites, please choose the appropriate pricing plan according to the Terms and Conditions of Weatherbit. Select the necessary WeatherBit.io plan from the API Tier drop-down menu.

weatherbitio admin tab

Adding and Customizing the Weather Widget

Adding Your API Key

Proceed to Crocoblock > JetPlugins Settings > JetElements Settings > Integrations and paste the key to the Weatherbit.io API Key field to display the weather information correctly.

adding weatherbitio api key

Activation of the Weather Widget

Navigate to the Crocoblock > JetPlugins Settings > JetElements Settings > Widgets & Extensions and move the Weather toggle to activate it.

weather widget activation

Adding the Weather Widget to the page and customizing it

Open the page where you want to place the weather forecast block in the Elementor page builder. Find the Weather widget and drag and drop it to an appropriate section on the page.

weather widget for elementor

Now you can see the settings block of the Weather widget on the left. There are Content, Style, and Advanced tabs, where it is possible to customize the widget according to your needs. In the Content tab, there are two settings blocks.

Settings

The Weather widget has two Style settings tabs: Weather and Settings. The Weather settings include:

weather widget settings
  • Location field allows typing the city, state, and country for weather forecast; if necessary, press the dynamic tag icon to select these data from other fields;
  • Units drop-down menu to select the “Metric” or “Imperial” option to display the temperature in the appropriate units (i.e., the temperature will be shown in Celsius or Fahrenheit degrees);
  • Time Format drop-down menu to choose the 12-hour or 24-hour time format.

The Settings tab includes:

settings tab of weather widgets
  • Show title toggle, if enabled, shows the city title to the users. If you choose to turn it on, you will also be able to define the Title Text and Title HTML Tag;
  • Title Text drop-down menu to select the Required from API, From Location, or Custom location;
  • Title HTML Tag drop-down menu to select the heading level for the title (from H1 to H6 and more);
  • Show country name toggle, if enabled, shows the country on the page;
  • Show current weather toggle, if enabled, shows current weather to the users;
  • Show current weather details toggle, if enabled, shows humidity, wind speed, max, min temperature, and more;
  • Show forecast weather toggle, if enabled, turns on the Number of forecast days drop-down menu to select a weather forecast for a few days (from 1 to 7).

Style Settings

When you have completed the settings, go to the Style tab. There you can determine how the Title, Current Weather, Details Weather, and Forecast Weather will look. Partially, they cover Color, Typography, Alignment, Margins, Padding, Shadow, and more options.

weather widget style settings

 Here are a few examples of styling:

weather block examples

That’s it. As you can see, it is easy to enrich the content of your website with a weather element using the JetElements Weather widget. Click the “Update” button, and weather data will be shown on your website in an attractive and convenient form.

Was this article helpful?
YesNo

Need help?

Ask Facebook community

Get answers from 22K Crocoblock Community experts from all over the world.

Start a live chat

Ask question to support agent and share its details via chat messages.