外掛說明
The user has to write one of five values and the plugin calculates the others. Supported units: km/h, mph, Beaufort, m/s, and knots.
Shortcode
- You can add the Windspeed Converter via shortcode
[windspeed_converter] - If you want to hide the backlink use the shortcode
[windspeed_converter link="false"] - You can selectively disable fields, e.g.
[windspeed_converter beaufort="false"]
Widget
- Just insert the widget in the chosen sidebar, type a title and activate the wanted options
Try the demo
See the Windspeed Converter site for a test run!
安裝方式
- Upload the “wind-speed-converter” folder to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Add the Windspeed Converter to your widget enabled space
- If you need to insert it in a post or page, use the shortcode
[windspeed_converter]
常見問題集
-
How can I display the Windspeed Converter on the Frontend?
-
You can add the shortcode
[windspeed_converter]in a post or page so that the Windspeed Converter will be displayed on that page. -
Can I hide certain fields?
-
Yes, use the shortcode attributes to disable specific fields. For example:
[windspeed_converter beaufort="false" ms="false"]
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.3.0
- Fixed all issues reported by the WordPress Plugin Review Team
- Added proper GPL license declarations in readme.txt and plugin header
- Fixed text domain to match plugin slug (wind-speed-converter)
- Added proper output escaping for all dynamic content
- Replaced deprecated path constants with WordPress functions (plugin_dir_url, plugin_dir_path)
- Added unique function/class prefixes (wsconv_)
- Added direct file access protection (ABSPATH check)
- Removed WordPress trademark from plugin name
- Updated readme.txt to WordPress standards
- Removed screenshot files from plugin directory (moved to SVN assets)
- Improved widget form with proper sanitization and escaping
- Updated minimum requirements to WordPress 5.0 and PHP 7.4
1.2.2
- Updates for widget
1.2.1
- CSS fix
1.2
- CSS fix
1.1
- Tested Up 5.1
1.0.1
- Minor Bugfix Release
1.0.0
- Initial Release
