How to add Weather Forecast Widget in your WordPress Site

Coding Wordpress



Why do I need to add a Weather Widget?

Not all websites owner need to add a weather widget but if you run a News Portal or a Tourism blog then you must show your user about the weather conditions. Weather widgets allow you and your customers to plan for the weather.

How to Add Weather Widget in your WordPress Website

Let's learn how to add a weather widget without using any plugin. Just follow the steps mentioned in this video and you will be able to add a weather widget.

Weather Widget Code : Just copy the code and paste it into your website.

<a class="weatherwidget-io" href="" data-label_1="Delhi" data-label_2="WEATHER" data-font="Roboto" data-icons="Climacons Animated" data-theme="sky" >AGARTALA WEATHER</a>
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);;js.src='';fjs.parentNode.insertBefore(js,fjs);}}(document,'script','weatherwidget-io-js');