abs_path_to_url( dirname( __FILE__ ) . '/js/custom-controls.js' ), array( 'jquery' ), '1.0', true );
wp_enqueue_style( 'custom-controls', $this->abs_path_to_url( dirname( __FILE__ ) . '/css/custom-controls.css' ) );
}
/**
* Control method
*
* @since 1.0.0
*/
public function render_content() {
?>
label ); ?>
description ); ?>
linkto)){
echo ''.__('Manage','bingle').' '.$this->label.' '.__('Items','bingle').'
';
}
}
}
/**
* Separator custom control
*
*/
class Separator_Custom_Control extends WP_Customize_Control {
/**
* Control type
*
* @var string
*/
public $type = 'separator';
/**
* Control method
*
* @since 1.0.0
*/
public function render_content() {
?>
abs_path_to_url( dirname( __FILE__ ) . '/js/custom-controls.js' ), array( 'jquery' ), '1.0', true );
wp_enqueue_style( 'custom-controls', $this->abs_path_to_url( dirname( __FILE__ ) . '/css/custom-controls.css' ) );
}
/**
* Control method
*
* @since 1.0.0
*/
public function render_content() {
?>
abs_path_to_url( dirname( __FILE__ ) . '/js/custom-controls.js'), array( 'jquery' ), '1.0', true );
wp_enqueue_style( 'custom-controls', $this->abs_path_to_url( dirname( __FILE__ ) . '/css/custom-controls.css') );
}
/**
* Control method
*
* @since 1.0.0
*/
public function render_content() {
?>
abs_path_to_url( dirname( __FILE__ ) . '/css/custom-controls.css'));
}
/**
* Control method
*
* @since 1.0.0
*/
public function render_content() {
?>
abs_path_to_url( dirname( __FILE__ ) . '/js/custom-controls.js'), array( 'jquery', 'jquery-ui-slider' ), '1.0', true );
wp_enqueue_style( 'custom-controls', $this->abs_path_to_url( dirname( __FILE__ ) . '/css/custom-controls.css'));
}
/**
* Control method
*
* @since 1.0.0
*/
public function render_content() {
$input_vars = $this->input_attrs;
?>
label ); ?>
description ); ?>
abs_path_to_url( dirname( __FILE__ ) . '/js/custom-controls.js'), array( 'jquery' ), '1.0', true );
wp_enqueue_style( 'custom-controls', $this->abs_path_to_url( dirname( __FILE__ ) . '/css/custom-controls.css'));
}
/**
* Control method
*
* @since 1.0.0
*/
public function render_content() {
if ( ! empty( $this->label ) ) : ?>
label ); ?>
description ) ) : ?>
description ); ?>
value() ) && ! empty( $this->value() ) ) ? explode( ', ', $this->value() ) : explode( ', ', '\'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\'' ); ?>
abs_path_to_url( dirname( __FILE__ ) . '/css/custom-controls.css'));
}
/**
* Control method
*
* @since 1.0.0
*/
public function render_content() {
?>
abs_path_to_url( dirname( __FILE__ ) . '/js/custom-controls.js'), array( 'jquery','jquery-ui-sortable' ), '1.0', true );
wp_enqueue_style( 'custom-controls', $this->abs_path_to_url( dirname( __FILE__ ) . '/css/custom-controls.css'));
}
/**
* Control method
*
* @since 1.0.0
*/
public function render_content() {
?>
label ); ?>
description ); ?>
value())){
$saved_choices_arr = json_decode($this->value(),true);
$sort_choices = $saved_choices_arr;
}else{
$sort_choices = $this->choices;
}
foreach ( $sort_choices as $choices_key => $choices_value ) {
if(isset($choices_value['id']) && isset($choices_value['enable']) && isset($choices_value['name']) ){
?>
link(); ?> />