WordPress Windguru Plugin

Demonstration

 United Kingdom - Saunton Sands (GFS 27 km 25.06. 00 UTC, NWW3 50 km 25.06. 00 UTC)
logo Su
25.
Su
25.
Su
25.
Su
25.
Su
25.
Su
25.
Mo
26.
Mo
26.
Mo
26.
Mo
26.
Mo
26.
Mo
26.
Tu
27.
Tu
27.
Tu
27.
Tu
27.
Tu
27.
Tu
27.
07h 10h 13h 16h 19h 22h 07h 10h 13h 16h 19h 22h 07h 10h 13h 16h 19h 22h
Wind speed (knots) 16 16 16 15 13 9 4 2 4 3 4 3 6 3 5 8 8 9
Wind gusts 24 23 20 19 16 14 4 2 6 4 5 4 8 3 5 10 9 12
Wind direction W W W W W W SSE NE ESE SW WNW SE SSE SSW NW NW NW WNW
Wave (m) 1.6 1.5 1.5 1.4 1.3 1.2 0.8 0.7 0.6 0.6 0.5 0.5 0.5 0.6 0.6 0.6 0.6 0.6
Wave period (s) 6 6 6 6 6 6 7 7 8 8 8 8 6 6 6 6 7 7
Wave direction W W W W W W W W W W W W W W W W W W
Temperature (°C) 15 16 16 16 16 15 14 17 18 18 17 16 15 18 19 16 16 14
0° isotherm (m) 3.8k 3.9k 3.9k 3.8k 3.8k 3.8k 3.7k 3.7k 3.7k 3.6k 3.6k 3.5k 3.3k 3.2k 3.2k 3.2k 3.2k 3.1k
Cloud cover (%)
high / mid / low
 
 
72
 
 
92
 
 
84
 
 
17
 
 
13
 
 
8
37
 
 
28
 
 
15
 
11
 
7
64
 
6
79
63
 
74
89
8
-
54
 
 
57
 
6
90
26
47
95
52
47
95
90
59
Rain (mm/3h)                               0.5    
Humidity (%) 93 91 85 82 85 91 90 79 77 83 88 89 85 78 78 93 91 93
Pressure (hPa) 13 13 14 15 14 15 14 14 13 13 11 11 7 6 5 4 2 2
Windguru rating 2 2 2 2 1                          
 [MapQuest] Lat: 51.1087, Lon: -4.221 Timezone: BST (UTC+1) sun05:08 - 21:31 [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.*


*