David Matthew
Forum Replies Created
-
Forum: Plugins
In reply to: [Ventus - Weather Map Widget & Shortcode] Static Code Block?Hi aggie,
Do you mean in a Custom HTML block? If so, you could use either the widget or the shortcode to embed it on a page, and then copy the generated iframe code (using your browser’s inspector tool – usually available when you right-click something). For example, the generated iframe code behind the widget I have embedded here is below:
<iframe style="box-sizing: border-box; width: 100%; height: 350px; border-radius: 20px" src="https://embed.windy.com/embed2.html?lat=53.199&lon=-7.603&zoom=8&overlay=cosc&marker=&pressure=&detailLat=53.199&detailLon=-7.603&metricWind=default&metricTemp=°C&detail=true&calendar=now&product=ecmwf&level=surface&menu=&message=true&type=map&location=coordinates&radarRange=-1" frameborder="0"></iframe>
You have a great plugin!
Thanks a million, really appreciate it! ??
Hope this helps.
Thanks,
DavidHi sirtak,
Sorry to read about the issues with your site’s caching. I know a little about caching, but not enough to know what kind of conflict is at play here. There could be a number of different factors interferring with the widget output, it’s hard to say.
What I would do myself in a case like this is copy the site to a test area (your host may be able to advise further here), and deactivate any caching plugins and use a default theme (like twentytwenty). This should help you get closer to figuring out the underlying issue here.
Hope this helps.
Thanks,
DavidHi sirtak,
Thanks for the info! What seems to be the issue here is the formatting of the shortcode values. The value actually displaying for you is the default latitude value (if you drag the map to the left, you’ll eventually land on Ireland).
I was able to replicate the issue on my own site by pasting your code in, and then noticed there was some spacing and mixed quote marks.
You can see the fixed version here.
The code to copy and paste that should fix this for you is:
[ventus width="100%" height="500px" radius="20px" lat="42.136" lon="24.742" zoom="6" layer="clouds" scale="C" units="km/h" pressure="true" marker="true" forecast="true" time="12"]
Hope this resolves it for you!
Thanks,
DavidHi sirtak,
Glad to hear you’re happy overall with the plugin! ?? In order to help you with the location issue, I just have a few questions.
- What’s the name of the city you’re trying to centre it over?
- Can you link me to a page where this is happening?
- What version of Ventus are you using?
- Are you using the widget or shortcode?
I look forward to hearing back!
Regards,
DavidForum: Plugins
In reply to: [Ventus - Weather Map Widget & Shortcode] turkish translationThank you tansu, that’s fantastic! I’ll be sure to include this translation in the forthcoming release!
Forum: Plugins
In reply to: [Ventus - Weather Map Widget & Shortcode] setting the time of an embedThat’s an interesting thread Michael – thanks for the link! I could really see the usefulness of such a feature and will keep an eye out for any developments.
Forum: Plugins
In reply to: [Ventus - Weather Map Widget & Shortcode] setting the time of an embedHi Michael – you’re right, it’s currently not possible to set an exact time, but what I could do is include the option to put it forward by either 12 or 24 hours? These are the only arguments possible to set in the embed itself so if it’s a feature you’re interested in I could certainly look into adding it! ??
Forum: Reviews
In reply to: [Ventus - Weather Map Widget & Shortcode] Simplistically brilliantThanks so much for the kind words, I really appreciate it and am delighted you find it that easy to use! ??
Forum: Reviews
In reply to: [Ventus - Weather Map Widget & Shortcode] Such a super cool weather appThank you so much Lisa, I really appreciate this feedback! If you found it easy to use and setup within WordPress, that’s my mission accomplished! ??
The guys over at windy.com are responsible for the great wind visuals, they do a fantastic job with all that data.
Thanks again, and all the best!
DavidForum: Plugins
In reply to: [Ventus - Weather Map Widget & Shortcode] Include spot forecastHey there BR,
Thanks for getting in touch and apologies for the delay – the forum notifications didn’t notify me of this query!
There isn’t that option in the widget at the moment, but it’s certainly something I can look into adding. The reason I didn’t add it by default was that it can be a little difficult to dismiss/hide the forecast once it’s there; I was hoping the windy.com widget would be updated to make that more user-friendly. But I’ll look into adding this option in the next version if you would like it. ??
Kind regards,
DavidForum: Plugins
In reply to: [Ventus - Weather Map Widget & Shortcode] Ventus plugin and GPX/KMLHi there Ernie,
Thanks for getting in touch and for your kind words about the plugin!
I just had a look at the link you sent on and it looks like in the meantime you may have found a solution? The windy widget doesn’t support things like GPX upload – the main site does however (but the information doesn’t carry over when you try to embed the widget). See here for example.
The page you linked to looks great by the way, and I hadn’t come across the predictwind service before so thank you for that, looks very interesting!
Best of luck with the blog, and I hope this has helped!
Thanks,
David- This reply was modified 5 years ago by David Matthew.
Forum: Plugins
In reply to: [Ventus - Weather Map Widget & Shortcode] French Traduction (POT file)Hi there Paul,
I’m delighted to hear you’d like to help translate the plugin into French – très bon! ??
The .pot file is actually just empty, which may be why it’s being read as corrupt. I haven’t had the time yet to properly prepare the .pot file, so will be sure to do that on the next release (which should be in the next month). I’ll keep you posted.
Just be aware though, this will only enable the back-end to be translated (anything you see in the WordPress admin area related to the plugin); I don’t have control over the language settings of the embedded widget itself (which is maintained by the windy.com development team). At the moment, unfortunately it isn’t possible to alter the language of the widget (e.g. see this thread) but hopefully it will be added as a feature in the future.
I hope this helps, and thanks again for your support. ??
Kind regards,
DavidThanks again for the feedback @unwetteralarm. Just to update you, the next version will include the ability to show/hide pressure isolines, show/hide the spot forecast, and set the default units for wind. I may also include some additional options to customize the border and padding of the widget, so as to better fit into the end user’s site. ??
Forum: Plugins
In reply to: [Ventus - Weather Map Widget & Shortcode] Open Layer Menu Setting?Hey there,
Thanks for getting in touch. ??
At the moment there is no parameter in the source widget that would facilitate this, so I’m unable to include it as a shortcode parameter unfortunately.
I am planning to add more shortcode parameters soon though (e.g. whether or not to open the spot forecast by default, show/hide pressure isolines etc) and if the ability to have the layers open by default becomes available as a feature, I will be sure to include it as a shortcode parameter then.
Thanks,
DavidMany thanks for the feedback @unwetteralarm! I am planning to include some more parameters soon. Thanks again ??