This website uses the ByteWeewx Wordpress Plugin to embed Weewx weather data into a WordPress Website. It relies on the ByteXML Weewx skin to upload key data files that are then processed inside WordPress.
1) Download the plugin from github and upload just the byteweewx folder and its contents to your wordpress plugins folder.
2) It comes with some of my old data so you can test it works – I would recommend this before you continue so you know that this side of things is working.
3) To start afresh delete everything inside the data folder but not the folder itself.
1) Check that you have the weewx forecasting module working (assuming that you want this feature). I cannot support this module. The ByteXML skin assumes that you will want forecasting and includes the required directive in the Cheetah Generator – comment this out if you don’t want it.
2) Next install the ByteXml skin into your Weewx installation and configure your weewx software to use it. You will need to update the path inside forecast.xml.tmpl (line 9) so it can find the forecast.inc file.
3) Ensure that the FTP section in weewx.conf is filled in. I would recommend that you create a new ftp user that only has permission to write to the WordPress / Content / Plugins / ByteWeewx / Data folder. You might need to update the FTP path to allow this – ask your hosting company if in doubt.
4) Restart Weewx so it uses the new skin. If you are impatient to wait then run wee_reports from the bin file.
Now you can add shortcodes into your pages and posts anywhere in your wordpress website!
It uses the weewx shortcode with a element label. Currently the available elements include:
The following elements use both an element and an id to specify specific information.