开发者 | francoisyerg |
---|---|
更新时间 | 2025年8月21日 01:05 |
捐献地址: | 去捐款 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[fyplugins_weather]
with extensive customization parameters/wp-content/plugins/fyp-weather/
directory[fyplugins_weather]
shortcode anywhere on your site
✅ Quick Test
Add [fyplugins_weather city="London, UK"]
to any post or page to test the plugin immediately!Absolutely! FYP Weather is designed to work flawlessly with all WordPress themes. The plugin uses modern CSS that adapts to your theme's styling while maintaining its beautiful design. It includes built-in responsive design and theme variants (default, dark, light).
Yes, but it's free and easy! You need a free API key from OpenWeatherMap. The free tier generously provides 1,000 API calls per day, which is more than enough for most websites. Getting an API key takes just 2 minutes.
Smart and automatic! The plugin uses WordPress transients to cache weather data for exactly 1 hour (3600 seconds). This means faster loading times for your visitors and efficient use of your OpenWeatherMap API quota. The cache updates automatically when the data expires.
Extensively! You can customize almost everything:
30+ languages automatically! The plugin detects your WordPress language setting and requests weather descriptions in that language from OpenWeatherMap. The supported languages are mapped from WordPress locales including English, French, German, Spanish, Italian, Portuguese, Russian, Chinese, Japanese, Korean, Arabic, and many others. If your language isn't supported, it defaults to English.
Yes, unlimited cities! Use multiple shortcodes with different city parameters anywhere on your site. Each can have different styling and display options. Perfect for travel sites, international businesses, or multi-location organizations.
Minimal impact, maximum performance! FYP Weather is optimized for speed with:
Real-time with smart caching! Weather data is fetched in real-time from OpenWeatherMap but cached using WordPress transients for exactly 1 hour. This provides up-to-date information while ensuring fast loading times and efficient API usage.
Graceful error handling! The plugin includes comprehensive error handling:
100% responsive! The plugin includes mobile-first design with:
Multiple ways to style! You can customize the appearance through:
Absolutely! The plugin features:
[fyplugins_weather]
with 10+ parameters