该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

ACF: Dynamic Year Select Field

描述

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)

屏幕截图

  • This screen shot show you the options for the Dynamic Year field type for Advanced Custom Fields

安装

  1. 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.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Add a new field using Advanced Custom Fields.
  4. 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.
阅读所有1条评价

贡献者及开发者

“ACF: Dynamic Year Select Field” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

0.1.0

  • Initial stable release

0.2.0

  • Minor updates and improvements
  • Improved WordPress coding standards