Skip to content

mattkrupnik/cmb2-field-slider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Custom slider field for CMB2.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published