Skip to content

Latest commit

 

History

History
executable file
·
38 lines (29 loc) · 901 Bytes

README.md

File metadata and controls

executable file
·
38 lines (29 loc) · 901 Bytes

CMB2 Field Type: Slider

Desc

Slider field type for CMB2.

Install

You can install slider field as a Wordpress plugin

  1. Download plugin
  2. Place in wp-content/plugins directory
  3. Active in Wordpress plugin section

Use

own_slider as a field type.

array(
	'name'        => 'Slider Field',
	'desc'        => 'Set your value.',
	'id'          => $prefix . 'slider',
	'type'        => 'own_slider',
	'min'         => '0',
	'max'         => '200',
	'step'        => '5',
	'default'     => '0', // start value
	'value_label' => 'Value:',
),

Screenshots

Image

Changelog

1.1.2 - 04-12-2016

  • Added support for repeatable group ( #3 ).
  • Added step attribute by jondcampbell, ( #5 ).