Descripción
Allows you to easily embed Australian weather forecast and observation data on your website.
Data is provided in the form of a WeatherZone.com.au button.
Supports both weather forecast and current weather observations buttons.
Requires no knowledge of JavaScript, and is compatible with WordPress Multisite.
To use this plugin, add a [weatherzone]
shortcode to a page or text widget on your website:
eg. [weatherzone mode="a" postcode="b" locality="c" showradar="d"]
Description of parameters:
mode
Specifies which type of weather button to add.
Valid values for the mode
parameter are:
currentweather
: (default) Current Weather Observation buttonforecast
: Weather forecast button
postcode
The postcode of your desired location to show weather data for.
Required: Yes
locality
You may also add a locality
parameter if you wish. This is recommended as it will ensure that your closest weather station is provided.
For example if you wanted the current weather for Shenton Park to appear in your page, your script call would look like this:
[weatherzone mode="currentweather" postcode="6008" locality="Shenton Park"]
where 6008 is the postcode for Shenton Park.
showradar
Whether or not to display a link to the weather radar below the weather button.
Valid values for the showradar
parameter are:
true
: (default) Yes, display the linkfalse
: No, do not display the link
See the WordPress WeatherZone Embed Plugin home page for further information.
Instalación
Installation of this plugin is simple:
- Download the plugin files and copy to your Plugins directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Add a
[weatherzone]
shortcode to a page or text widget on your website. See the plugin description for a list of valid shortcode parameters/attributes.
Preguntas frecuentes
-
How do I add a weather button to my website?
-
See the plugin’s main description.
-
Can I add a weather button to my sidebar
-
Yes. As of v1.0.1, you can use the [weatherzone] shortcode in a text widget.
Reseñas
Colaboradores y desarrolladores
«WeatherZone Embed» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
ColaboradoresTraduce «WeatherZone Embed» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.2.12
- Update release process.
1.2.11
- Update release process.
1.2.10
- Update release process.
1.2.9
- Update release process.
1.2.9
- Translation updates.
1.2.8
- WordPress 5.5 compatibility.
1.2.7
- Add support for HTTPS/SSL sites.
- WordPress 4.8 compatibility.
1.2.6
- PHP 7 compatibility (no more deprecated constructor warning).
- WordPress 4.5 compatibility.
- Readme updates.
1.2.5
- WordPress 4.1 compatibility.
- Readme updates.
1.2.4
- WordPress 4.0 compatibility.
- Fix deprecated function warnings.
- Readme updates.
1.2.2
- WordPress 3.5 compatibility.
1.2.1
- WordPress 3.4 compatibility.
- Clarify license as GPLv2 or later.
1.2
- Translation/localization improvements.
- WordPress 3.2 compatibility.
1.1
- WordPress 3.1 compatibility.
1.0.1
- Add support for the [weatherzone] shortcode in sidebar text widgets
- WordPress 3.0.1 compatibility
1.0.0
- Initial release.