外掛說明
This plugin makes it easy to create a drop down list of years. This plugin is compatible with Advanced Custom Fields 4 and 5.
A few example use cases:
- Selecting credit card expiry
- Setting a minimum age (18, 21)
- Choose year graduated (option for user to choose Current)
- Selecting a decade
- And many more!
This plugin has a wide range of options to give you a range of possibilities of creating a year dropdown.
Plugin’s features:
- Set the date range relative to number of years before (or after) the current year (i.e. – from current year to 5 years in the future).
- Set the date range between exactly 2 years (i.e. – from 1900 – 2016)
- Set the incremental step between the range (5 years, 10 years)
- Order dates in chronological or reverse chronological order
- Allow the user to set the year as “Current” (or any variation of the term)
螢幕擷圖
安裝方式
- Upload the plugin files to the
/wp-content/plugins/acf-field-dynamic-year-select
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Add a new field using Advanced Custom Fields.
- Choose a new field type as “Dynamic Year”
使用者評論
2016 年 12 月 20 日
Great ACF plugin. Couple of little bugs, e.g. in the Edit Field Group page this field trys to stop the Update button action by saying that the page has changed when it shouldn't. Also this field isn't compatible by the ACF Add-on for Admin Columns Pro which means that this field can't be edited using Admin Columns Pro Inline Edit function.
參與者及開發者
變更記錄
0.1.0
- Initial stable release
0.2.0
- Minor updates and improvements
- Improved WordPress coding standards