Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
WordPress / Widgets

J.B.Weather Widget 2.0 for WordPress

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

J.B.Weather Widget 2.0 for WordPress - CodeCanyon Item for Sale


Ad: Bluehost hosting

Weather Widget 2 is a simple widget for displaying weather conditions and forecast for places across the world.


- jQuery driven
- uses AJAX technology
- Cache
- Search Bar with auto complete function
- Ability to set default location
- Ability to auto detect user location using HostIP service or its own integrated geoip database.
- Celsius or Fahrenheit units
- Kilometers or Miles units
- Displays today’s date, temperature, wind direction and speed, forecast for next 4 days
- Color adjustable
- Adjustable Width (Note: minimum of 280 pixels)
- Has its own unique icons


Method 1

- Go to your WordPress admin panel and navigate to Plugins -> Add New.

- click “Upload” and then “Browse”.

- Select the archive “” and click “Install Now”.

- Activate the J.B.Market Weather Widget plugin by clicking “Activate” button.

::NOTE:: Since the widget is big in size, method 1 could fail if you have upload limit.

Method 2 ( If Method 1 fails )

- Navigate to <Your WordPress Folder> / wp-content / plugins /

- Extract the content of “” archive to the “plugins” folder. It should look like this: <Your WordPress Folder> / wp-content / plugins / jb-weather-widget-2 /

- Activate the J.B.Market Weather Widget plugin from your WordPress Admin Panel.

Set up :

- Go to your WordPress admin panel and navigate to Appearance -> Widgets.

- From “Available Widgets” box click and drag “J.B.Weather Widget” to the desired sidebar (at the right).

- Set desired parameters and click Save.

Obtaining API Key

To obtain free API key, go to

Note:The Weather API is free of charge and does not require subscription.


- PHP cURL enabled or file_get_contents.
- PHP server is not blocking access to external sources (The Weather API in this case).
- PHP server has read/write permission to store the cache files in the widget folder (mkdir and file_put_contents).

Stay up to date!

Follow us on Facebook or Twitter and get latest news about item updates and upcoming plugins and scripts!

You can also follow us on Instagram and soon on YouTube with video tutorials on how to install our plugins and scripts!


  • 27 Aug 2015

- The autocomplete list of cities and countries has been reactivated. The feature requires active username. You can obtain one by registering at

- Added shortcode

- Shortcode example:
 [jbww apikey="MY-API-KEY" location="London, England" autodetect="1" geonames="MY-GEONAMES-USERNAME" basiccolor="#000" width=280, degreesunits="C", windunits="K" curl="1"] 

- Shortcode parameters:

- apikey – Your api key (required)
- location – Location name, ip address, post code, long lat etc…
- autodetect – Auto-detect user location 0 – Off 1 – On
- geonames – Your active username (optional)
- width – Plugin width (units are in pixels)
- degreesunits – Temperature units C or F
- windunits – Wind units K or M
- curl – Use cURL 0 – Off 1 – On

  • 06 Feb 2013
    - Fixed bug where the plugin could break some themes
    - Added option for translation. To translate the days from English edit file language.txt found in the widget folder.
    - HostIP detection type will properly use cURL now if cURL option is selected.
    - Other minor bug fixes.

  • 28 March 2013
    - API url has been updated.
    - The widget will make 3 attempts per 3 seconds to get data on ajax error.
    - If APi return no data, the xml content will be dumped for debugging.
    NOTE:: You may need to obtain new API key if you already have one.

Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers


7 September 12

Last Update:
27 August 15

Compatible Browsers:
IE8, IE9, IE10, IE11, Firefox, Safari, Opera, Chrome

Files Included:
JavaScript JS, HTML, XML, CSS, PHP

Software Version:
WordPress 4.2, WordPress 4.1, WordPress 4.0, WordPress 3.9, WordPress 3.8, WordPress 3.7, WordPress 3.6, WordPress 3.5, WordPress 3.4


eCommerce, eCommerce, All Items, ajax, autocomplete, autodetect, forecast, jquery, php, plugin, weather, widget, wordpress