This plugin makes it easy to create a drop down list of years.
此插件可轻松创建年份下拉列表。
This plugin is compatible with Advanced Custom Fields 4 and 5.
该插件与高级自定义字段4和5兼容。 p>
A few example use cases:
一些使用案例: p>
- Selecting credit card expiry
- 选择信用卡到期时间 li>
- Setting a minimum age (18, 21)
- 设置最低年龄(18、21岁) li>
- Choose year graduated (option for user to choose Current)
- 选择毕业年份(用户选择“当前”的选项) li>
- Selecting a decade
- 选择十年 li>
- And many more!
- 还有更多! li>
ul>
This plugin has a wide range of options to give you a range of possibilities of creating a year dropdown.
此插件具有多种选项,可为您提供创建年份下拉列表的各种可能性。 p>
Plugin’s features:
插件的功能: p>
- 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).
- 设置相对于当前年份之前(或之后)的年数的日期范围(即–从当前年份到将来的5年)。 li>
- Set the date range between exactly 2 years (i.e. – from 1900 – 2016)
- 将日期范围设置为恰好在2年之间(即–从1900年到2016年) li>
- Set the incremental step between the range (5 years, 10 years)
- 设置范围(5年,10年)之间的增量步长 li>
- Order dates in chronological or reverse chronological order
- 按时间顺序或倒序排列的日期 li>
- Allow the user to set the year as “Current” (or any variation of the term)
- 允许用户将年份设置为“当前”(或术语的任何变体) li>
ul>