Este plugin não foi testado com as 3 atualizações principais mais recentes do WordPress. Pode ser que não tenha mais manutenção ou suporte e talvez tenha problemas de compatibilidade quando usado com versões mais recentes do WordPress.

WeatherZone Embed

Descrição

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.

Imagens de tela

  • Example current weather and forecast buttons/widgets

Instalação

Installation of this plugin is simple:

  1. Download the plugin files and copy to your Plugins directory.
  2. Ative o plugin pelo menu “Plugins” no 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.

FAQ

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.

Avaliações

3 de setembro 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.
Leia todas as 2 avaliações

Colaboradores e desenvolvedores

“WeatherZone Embed” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores

Registro de alterações

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

  • Release inicial.