Title: Custom gallery settings &#8211; conditional check
Last modified: August 30, 2016

---

# Custom gallery settings – conditional check

 *  [Ciredor](https://wordpress.org/support/users/ciredor/)
 * (@ciredor)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/custom-gallery-settings-conditional-check/)
 * Using print_media_templates i managed to extend default gallery to more like 
   multi-gallery using different output based on selected type.
    For example first
   custom option:
 *     ```
       <select name="type" data-setting="type">
       	<option value="default">Default</option>
       	<option value="grid">Responsive Grid</option>
       	<option value="masonry">Masonry</option>
       	<option value="slider">Slider</option>
       	<option value="carousel">Carousel</option>
       </select>
       ```
   
 * define base type of gallery output. Then there’s lot of option for each type (
   grid columns, paddings, slider speed, animation etc.) so it’s rather long. The
   question is how can display only one part of settings based on currently selected“
   type” ?
 * It was easy to do it for metaboxes or customizer but i can’t get it working there
   since markup is different (html select / input / checkbox ).
 * Thanks

The topic ‘Custom gallery settings – conditional check’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [Ciredor](https://wordpress.org/support/users/ciredor/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/custom-gallery-settings-conditional-check/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
