Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

WeatherZone Embed

Descriere

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

cod poștal

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.

Capturi ecran

  • Example current weather and forecast buttons/widgets

Instalare

Installation of this plugin is simple:

  1. Download the plugin files and copy to your Plugins directory.
  2. Activează modulul prin meniul „Module” 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.

Întrebări frecvente

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.

Verificări

3 septembrie 2016 1 răspuns
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.
Citește toate cele 2 recenzii

Contributori și dezvoltatori

„WeatherZone Embed” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

Istoric modificări

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

  • Versiunea inițială.