描述
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