'; echo '
  • ' .esc_html__( 'Home', 'blogbell' ). '
  • '; wp_list_pages( array( 'title_li' => '', 'depth' => 1, 'number' => 5, ) ); echo ''; } endif; if ( ! class_exists( 'WP_Customize_Control' ) ) return NULL; /** * Class blogbell_Dropdown_Taxonomies_Control */ class BlogBell_Dropdown_Taxonomies_Control extends WP_Customize_Control { /** * Render the control's content. * * @since 3.4.0 */ public function render_content() { $dropdown = wp_dropdown_categories( array( 'name' => 'blogbell-dropdown-categories-' . $this->id, 'echo' => 0, 'show_option_none' => __( '— Select —', 'blogbell' ), 'option_none_value' => '0', 'selected' => $this->value(), 'hide_empty' => 0, ) ); $dropdown = str_replace( 'get_link(), $dropdown ); printf( '', esc_html($this->label), esc_html($this->description), $dropdown ); } } class BlogBell_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() ); ?>"/> label ) ) : ?>

    label ); ?>

    description ) ) : ?> description ); ?> pro_text; $json['pro_url'] = esc_url( $this->pro_url ); return $json; } /** * Outputs the Underscore.js template. * * @since 1.0.0 * @access public * @return void */ protected function render_template() { ?>
  • {{ data.title }} <# if ( data.pro_text && data.pro_url ) { #> {{ data.pro_text }} <# } #>