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.

兼容性

This add-on will work with:

  • Advanced Custom Fields version 4 & 5

更多的信息

屏幕截图

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

安装

  1. Upload the plugin to your plugins directory
  2. 通过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