'baton_conductor[category]',
'selected' => $this->settings['category']->value(),
'orderby' => 'NAME',
'hierarchical' => true,
'show_option_all' => __( 'All Categories', 'baton' ),
'hide_empty' => false,
'id' => 'baton_conductor_category',
'class' => 'baton-conductor-select',
'echo' => false
) );
// Add the Customizer "link" for this field (only replacing once to ensure only the outer most wrapper element gets the adjustment)
$category_dropdown = preg_replace( '/
settings['flexbox_columns'] ) ) :
?>
link( 'flexbox_columns' ); ?> />
settings['flexbox_columns']->value(); ?>
by Conductor is enabled, this value applies to posts which are output after the enhanced displays.', 'baton' ); ?>
settings['output'] ) ) :
// Grab the value
$baton_conductor_output = $this->settings['output']->value();
?>
$element ) {
$id = $element['id'];
$type = $element['type'];
// Determine the features this element supports (first by id)
$supports = ( isset( $this->output_features[$id] ) ) ? $this->output_features[$id] : array();
// Find support by type if not found by id
if ( empty( $supports ) )
$supports = ( isset( $this->output_features[$type] ) ) ? $this->output_features[$type] : array();
// Generate CSS Classes
$css_classes = array(
'ui-state-default',
'baton-conductor-output-element',
'baton-conductor-output-element-' . $element['id']
);
// Visible CSS Class
if ( isset( $element['visible'] ) && $element['visible'] )
$css_classes[] = 'visible';
// Link CSS Class
if ( $supports && array_key_exists( 'link', $supports ) && isset( $element['link'] ) && $element['link'] )
$css_classes[] = 'link';
$output = '