[wordpress插件] ACF: Dynamic Year Select FieldACF:动态年份选择字段

wordpress 插件 文章 2020-01-26 11:20 518 0 全屏看文

AI助手支持GPT4.0

评分

80

80

描述

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兼容。

A few example use cases:

一些使用案例:

    • Selecting credit card expiry
    • 选择信用卡到期时间

    • Setting a minimum age (18, 21)
    • 设置最低年龄(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).
      • 设置相对于当前年份之前(或之后)的年数的日期范围(即–从当前年份到将来的5年)。

      • Set the date range between exactly 2 years (i.e. – from 1900 – 2016)
      • 将日期范围设置为恰好在2年之间(即–从1900年到2016年)

      • Set the incremental step between the range (5 years, 10 years)
      • 设置范围(5年,10年)之间的增量步长

      • Order dates in chronological or reverse chronological order
      • 按时间顺序或倒序排列的日期

      • Allow the user to set the year as “Current” (or any variation of the term)
      • 允许用户将年份设置为“当前”(或术语的任何变体)

安装步骤

    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. 将插件文件上传到 / wp-content / plugins / acf-field-dynamic-year-select 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Add a new field using Advanced Custom Fields.
    6. 使用“高级自定义字段”添加新字段。

    7. Choose a new field type as “Dynamic Year”
    8. 选择新字段类型为“动态年份”

下载地址

https://downloads.wordpress.org/plugin/acf-dynamic-year-select-field.0.1.0.zip

https://downloads.wordpress.org/plugin/acf-dynamic-year-select-field.0.1.0.zip

-EOF-

AI助手支持GPT4.0