The perfect way to show current conditions and a 3-day forcast in your sidebar, for a location of your choice. Great for travel sites, town or city sites, etc. It looks good, takes up little space and is easy to set up.
The widget uses accurate weather data from World Weather Online.
About the Weather Widget
The Weather Widget by Calcatraz is a compact WordPress weather widget for your sidebar. It has a neat, neutral design which fits in with almost any site. For the location of your choice (city, town, coordinates, ip address, etc) it shows the current weather conditions on the left and a 3-day forcast on the right.
The widget can display temperatures in both celcius and fahrenheit scales. It can detects the user’s language and shows the appropriate scale, or use a predefined scale. It also allows the user to switch scales, and remembers their preference.
There are now two styles: the default wide style (260 x 58px), and the new square style (133 x 116px) suitable for narrower sidebars.
To install the widget on your site, do the following:
- In your WordPress Dashboard go to Plugins > Add New
- Search for „Weather Widget by Calcatraz”
- Click ‘Install Now’
- Click ‘Activate Plugin’
- Go to Appearance > Widgets
- Drag the ‘Weather Widget by Calcatraz’ box into the sidebar area
- Click on the ‘Weather Widget By Calcatraz’ to expand the options
- Fill out the required information (you can the API key for free at http://developer.worldweatheronline.com/)
- Click ‘Save’
That’s it, the weather widget should now show up in your sidebar
- Can the widget show temperature in Fahrenheit?
Yes, it can now show both Celcius and Fahrenheit. If the scale option is set to „auto”, the widget shows fahrenheit by default to US users (more precisely, those with their browser language set to US English), and Celcius to others. Otherwise, it will use the scale chosen in the widget configuration panel. The user can switch between fahrenheit and celcius, and their preference will be remembered for the duration of their session.
Nu există nicio verificare pentru acest modul.
Contributori și dezvoltatori
„Weather Widget by Calcatraz” este un software open-source. La acest modul au contribuit următoarele persoane.Contributori
Tradu „Weather Widget by Calcatraz” în limba ta.
Te interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.
- Updated version number
- Minor CSS fixes
- Now trims keys to prevent api key failure when trailing spaces present
- CSS fixes
- Fixed option to disable / enable credits
- Better handling of error reporting when no network connection
- Added error reporting in widget settings panel
- Can now use both curl and file_get_contents when requesting weather data, so should work in more cases.
- Switched from PHP sessions to JS cookies
- Fixed bug where if no size specifed (e.g. when upgrading), square size was chosen instead of the default.
- Optimized CSS delivery and selectors for faster loading
- Fixed bug where setting base tag could prevent scale switching from working
- Added new square size
- Added option for picking default scale (fahrenheit or celcius). Auto attempts to show the user the best scale.
- Fixed bug where styles not applied
- Fixed multi-line weather description formatting
- Fixed bug where scale toggle link displayed over drop-down menus
- Fahrenheit support added. Now shows fahrenheit by default to US users, and Celcius to others. The user can switch between fahrenheit and celcius, and their preference will be remembered for the duration of their session.
- Now center aligns in sidebar
- Minor formatting improvements
- Minor changes to plugin directory listing
- Created weather widget