芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/cepali.edu.mx/wp-content/themes/edufication/inc/customizer/custom-controls.php
taxonomy = esc_attr( $taxonomy ); parent::__construct( $manager, $id, $args ); } /** * Render content. * * @since Edufication 1.0.0 */ public function render_content() { $tax_args = array( 'hierarchical' => 0, 'taxonomy' => $this->taxonomy, ); $taxonomies = get_categories( $tax_args ); ?>
label ); ?>
description ) ) : ?>
description ); ?>
link(); ?>> %s', '', selected( $this->value(), '', false ), esc_html__('--None--', 'edufication') ); ?> $tax ) : ?> %s', esc_attr( $tax->term_id ), selected( $this->value(), $tax->term_id, false ), esc_html( $tax->name ) ); ?>
taxonomy = esc_attr( $taxonomy ); parent::__construct( $manager, $id, $args ); } /** * Render content. * * @since Edufication 1.0.0 */ public function render_content() { $tax_args = array( 'hierarchical' => 0, 'taxonomy' => $this->taxonomy, ); $taxonomies = get_categories( $tax_args ); ?>
label ); ?>
description ) ) : ?>
description ); ?>
link(); ?> multiple> %s', '', selected( $this->value(), '', false ), esc_html__('--None--', 'edufication') ); ?> $tax ) : ?> %s', esc_attr( $tax->term_id ), selected( $this->value(), $tax->term_id, false ), esc_html( $tax->name ) ); ?>
' . esc_html( $this->label ) . ''; } } class Edufication_Switch_Control extends WP_Customize_Control{ public $type = 'switch'; public $on_off_label = array(); public function __construct( $manager, $id, $args = array() ){ $this->on_off_label = $args['on_off_label']; parent::__construct( $manager, $id, $args ); } public function render_content(){ ?>
label ); ?>
description ){ ?>
description ); ?>
value() == 'true' ) ? 'switch-on' : ''; $on_off_label = $this->on_off_label; ?>
link(); ?> type="hidden" value="value() ); ?>"/> choices ) ) return; ?>
label ); ?>
description){ ?>
description); ?>
link(); ?>> choices as $value => $label ) echo '
value(), $value, false ) . '>' . esc_html( $label ) . '
'; ?>
choices ) ) { return; } $name = '_customize-radio-' . $this->id; ?>
label ); ?> description ) ) : ?>
description ); ?>
choices as $value => $label ) : ?>
link(); checked( $this->value(), $value ); ?>>