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.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