Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

WeatherZone Embed

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 button
  • forecast: 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 link
  • false: No, do not display the link

See the WordPress WeatherZone Embed Plugin home page for further information.

Capturas

  • Example current weather and forecast buttons/widgets

Instalación

Installation of this plugin is simple:

  1. Download the plugin files and copy to your Plugins directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. 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

3 de septiembre de 2016 1 reply
It is a weatherzone button and nothing else. Very ugly and old school. I want a simple 3 day forecast that has accurate weather for my postcode and that I can style to suit my site but apparently that is a big ask if you live in Australia. Having said that at least this appears accurate except I can't change the label to be my actual suburb.
Leer todas las 2 reseñas

Colaboradores y desarrolladores

«WeatherZone Embed» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «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.