[Plugin: OptionTree] 2 Different Custom Slider Templates?
-
I want to have two different slideshows on my homepage, i added this to customize the first one. However i want to add a custom set of options for the second slideshow instead of using the same options from the first slide show.
Is there a way to define an additional set of custom fields different from the first using the slideshow id?Example :
Top Slideshow
————–
title
image
more link
featured link
descriptionBottom Slideshow ( this is the one that keeps showing the above values)
————–
title
subtitle
descriptionadd_filter( 'image_slider_fields', 'new_slider_fields' ); function new_slider_fields() { $array = array( array( 'name' => 'image', 'type' => 'text', 'label' => 'Slide Image URL', 'class' => '' ), array( 'name' => 'more', 'type' => 'text', 'label' => 'More Info Link', 'class' => '' ), array( 'name' => 'featured', 'type' => 'text', 'label' => 'Featured Demo Link', 'class' => '' ), array( 'name' => 'description', 'type' => 'textarea', 'label' => 'Slide Description', 'class' => '' ) ); return $array; }
[No bumping, please.]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: OptionTree] 2 Different Custom Slider Templates?’ is closed to new replies.