這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Advanced Custom Fields: Number Slider

外掛說明

This is an add-on for the Advanced Custom Fields WordPress plugin, that allows you to add a Number Slider field type.

This plugin uses the Simpler Slider jQuery library by James Smith – http://loopj.com/jquery-simple-slider/

For feature request and bug reports, please use the Q Studio Support Website.

Please do not use the WordPress.org forum to report bugs, as we no longer monitor or respond to questions there.

Compatibility

This add-on will work with:

  • Advanced Custom Fields version 4 & 5

More Information

螢幕擷圖

  • Sliding Number Selector on edit screen
  • Configure Number Slider Field in ACF

安裝方式

  1. Upload the plugin to your plugins directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Enjoy 🙂

常見問題集

How does this plugin work?

The ACF Number Slider plugin adds an additional field type to Advanced Custom Fields that allows the user to set-up an integer field with a slide rule to select the value.

Each Number Slider can be configured with the following parameters:

  • Units of measurement
  • Minimum value
  • Maximum value
  • Incremental steps between values

使用者評論

2018 年 8 月 17 日
This plugin is a must-have addition to ACF. Honestly I think ACF developers should work on something like this, since this one seems to be abandoned. I've been using it for years, it had some small issues like duplicated sliders, but current version of WordPress (or other plugin that was causing the issue) solved it. My project would not be the same without it, so thank you very much.
2017 年 2 月 8 日
That's really a great idea - unfortunately the plugin in its current form can not be used on a production site of high end clients. Reasons: 1. Displayed initial value is zero - however it's clearly set on the field settings panel to a specific value ( 400 in my own case ). The value gets corrected as soon as the slider gets clicked and moved. 2. Sliders twins - more specifically some sliders are generated twice. 3. There's no option to define a default value.
2016 年 9 月 3 日
I used the field in CSS for the opacity of an overlay effect. I think the styles of the slider should be inherited from the user color scheme rather than the green color included in the plugin.
2016 年 9 月 3 日
Just what I want, adds a slider to ACF field options. I would suggest these improvements: - A default value - When the slider loads in it is at 0, even if the min value is > 0 it should load in at 20 for example.
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Advanced Custom Fields: Number Slider〉的開發相關工作。

參與者

〈Advanced Custom Fields: Number Slider〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Advanced Custom Fields: Number Slider〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.6.0

  • set correct slider values on tab shown

0.5.9

  • data sanitization and escaping
  • format improvements for value and unit spacing
  • Removed support for ACF version 3
  • WP Version bump

0.5.8

  • Admin fixes for spacing between value and unit

0.5.7

  • Added append value to return string

0.5.6

  • Read me tweak

0.5.5

  • WP 5.5 version release
  • Added GitHub Deploy Action

0.4.3

  • ReadmMe Update

0.4.2

  • Tested on WP 4.4.1

0.4.1

  • Tested on WP 4.0.0
  • Commented out missing function calls

0.4.0

  • ACF V5 compatibility – thanks chrisgoddard @ https://github.com/chrisgoddard
  • Serbian Translation – thanks Ogi @ http://firstsiteguide.com/

0.3.7

  • 3.8.1 Testing
  • Forum link

0.3.6

  • commented js console.log print

0.3.5

  • Fix to allow for multiple number sliders on the same screen

0.3

  • Fixed issue in V4 plugin to properly include JS files

0.2.5

  • Initial version