這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 ACF: Dynamic Year Select Field 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.1.0

  • Initial stable release

0.2.0

  • Minor updates and improvements
  • Improved WordPress coding standards