WordPress Windguru Plugin

Demonstration

 United Kingdom - Saunton Sands (GFS 27 km 12.12. 06 UTC, NWW3 50 km 12.12. 06 UTC)
logo Tu
12.
Tu
12.
Tu
12.
Tu
12.
Tu
12.
Tu
12.
We
13.
We
13.
We
13.
We
13.
We
13.
We
13.
Th
14.
Th
14.
Th
14.
Th
14.
Th
14.
Th
14.
Fr
15.
Fr
15.
06h 09h 12h 15h 18h 21h 06h 09h 12h 15h 18h 21h 06h 09h 12h 15h 18h 21h 06h 09h
Wind speed (knots) 6 8 12 15 18 22 19 21 27 30 36 31 25 25 26 26 27 29 22 23
Wind gusts 8 10 15 20 26 31 25 29 36 38 48 39 32 33 32 36 35 37 28 28
Wind direction NW W WSW SW SSW SW W WSW WSW WNW W WNW W WNW WNW W WNW WNW NW NW
Wave (m) 1.4 1.3 1.2 1.2 1.5 1.9 2.1 2.3 3.1 3.6 4.5 4.5 3.9 3.8 3.8 4.1 4.3 4.5 3.2 3
Wave period (s) 13 13 12 10 5 6 7 7 8 9 9 10 10 10 10 10 10 11 9 8
Wave direction W W W W W WSW W W W W W W W W W W W W W WNW
Temperature (°C) 6 7 8 9 8 10 10 10 11 9 9 8 8 8 7 8 9 9 8 8
0° isotherm (m) 810 840 910 990 1.1k 1.7k 1.2k 1.3k 1.5k 980 990 800 860 810 780 830 960 950 870 870
Cloud cover (%)
high / mid / low
-
-
-
89
 
63
95
36
60
53
100
35
57
96
58
99
36
99
54
47
80
39
100
95
19
98
99
 
26
100
 
30
96
 
70
100
 
88
92
15
100
100
15
99
91
35
78
74
67
89
87
63
96
94
 
41
56
 
 
97
Rain (mm/3h) -       0.7 1.2 0.6 3.6 2.9 1.9 1.5 1.7 2.3 5.1 1.6 1.8 2.3 2.2 0.5 0.7
Humidity (%) 70 71 69 71 83 90 78 87 83 68 71 60 75 75 63 68 66 70 72 73
Pressure (hPa) 8 9 10 8 7 5 5 3 999 999 999 1 998 995 995 994 994 994 2 4
Windguru rating     1 1 2 3 2 3 3 3 3 3 3 3 3 3 3 3 3 3
 [MapQuest] Lat: 51.1087, Lon: -4.221 Timezone: GMT (UTC+0) sun08:16 - 16:05 [Archive] [Tides]

See a multi-forecast demonstration on my beaches page.

Installation Notes

  • Download web-ethical-windguru-plugin-3.00 and then use the built-in wordpress plugin installer to upload the zip file.
  • Activate the plugin.
  • Goto the settings > Wind Guru Plugin Admin Menu and fill in at least your id_user.
  • Insert forecasts into pages/posts in the format {wewgpi station="100" id="SOME_CODE"} where the {Curly} brackets must be [Square] ones!

To Add Forecasts

  • Locate the page or post where you want the forecast to appear
  • Get the forecast insert php code given on Windguru e.g. windguru_forecast(100,’SOME_CODE’)
  • Translate it into {wewgpi station="100" id="SOME_CODE"} where the {Curly} brackets must be [Square] ones!
  • Insert into the page and update.
  • Bingo you should have a working forecast.

Getting the windguru forecast codes.

The plugin system will only work if you have registered with windguru and have created favourite forecasts in your windguru account.

  1. Register with Windguru: If you are not already registered with Windguru go to https://www.windguru.cz/int/novy.php
  2. Login to your account.
  3. Go to Settings > Forecasts for your Websites.
  4. You are able to add up to 10 spots – either click on Add Another Spot or select one from those you have previously created.
  5. In the forecast preview you will see the forecast followed by some code. You want the two numbers located inside the php code.
  6. Place these numbers inside the plugin call as explained for each plugin.

I owe a huge thanks to Vaclav Hornik for his support and letting me publish these plugins

Last Updated:

Comments 4

  • Anthony

    Hey, Love your work. Unfortunately, the plugin is not working. After uploading, I get this error from wordpress: The package could not be installed. No valid plugins were found.
    Plugin install failed. Please look into that. Thanks.

  • Bill

    I tried to use your Plugin, but WordPress keeps telling me that the Plugin Install failed, I clicked on ioyr link to get the Windguru Plugin and clicked to download the zip file – but my wordpress does not like it for some reason – is it missing anything?? I am using WP 4.3 on Bluehost. I also tried to cut & paste the HTML code from Windguru, but when I paste it into my WP page (under HTML Text), it does not show up – when I look back to edit the page i see inserted in front of the HTML I pasted – I can not get rid of these – does this affect it??
    Please help – so I can use Windguru somwhow on my page.
    Thanks

  • Bill

    I finally got your Windguru plugin to Install – your automatic Download to Zip does not quite work correctly, it adds an extra layer of folder in there, so I had to Extract and re-zip it to get to install in WordPress.
    Once I installed your Plugin and put in my WIndguru ID, I plugged in your code into one of my pages, and when I view the page – I got all kinds of errors – I even went back to use your “demo” code line – [wewgpi station=”329″ id=”c568385101″] but still get the same errors when I view the page with this in there – it is saying a few things are not found ??? see errors below – HELP PLEASE….

    Warning: include_once(/home1/thesppg0/public_html/wp-content/plugins/bytewindguru/windguru/windguru.inc.php): failed to open stream: No such file or directory in /home1/thesppg0/public_html/wp-content/plugins/Windguru-Wordpress/bytewindguru-plugin.php on line 45

    Warning: include_once(): Failed opening ‘/home1/thesppg0/public_html/wp-content/plugins/bytewindguru/windguru/windguru.inc.php’ for inclusion (include_path=’.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear’) in /home1/thesppg0/public_html/wp-content/plugins/Windguru-Wordpress/bytewindguru-plugin.php on line 45

    Fatal error: Call to undefined function windguru_forecast() in /home1/thesppg0/public_html/wp-content/plugins/Windguru-Wordpress/bytewindguru-plugin.php on line 48

    Thanks,
    Bill

  • CDB

    Hi Bill,

    I’ll take a look at this but currently don’t have a system that will allow me to upload a zip. I think its because the plugin needs to be in a folder called bytewindguru but you have placed it in a folder called Windguru-Wordpress. This is caused from using GIT to host the files – I’ll try and upload it better so it downloads appropriately. Sorry for the trouble.

Write a Reply or Comment

We will not publish your email.*


*