'; echo '
  • ' .esc_html__( 'Home', 'business-plan' ). '
  • '; wp_list_pages( array( 'title_li' => '', 'depth' => 1, 'number' => 5, ) ); echo ''; } endif; if ( ! class_exists( 'WP_Customize_Control' ) ) return NULL; /** * Class business_plan_Dropdown_Taxonomies_Control */ class business_plan_Dropdown_Taxonomies_Control extends WP_Customize_Control { /** * Render the control's content. * * @since 1.0.0 */ public function render_content() { $dropdown = wp_dropdown_categories( array( 'name' => 'business-plan-dropdown-categories-' . $this->id, 'echo' => 0, 'show_option_none' => __( '— Select —', 'business-plan' ), '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 ); } } // Customizer Control if (class_exists('WP_Customize_Control') && ! class_exists( 'business_plan_Image_Radio_Control' ) ) { /** * Customize sidebar layout control. */ class business_plan_Image_Radio_Control extends WP_Customize_Control { public function render_content() { if (empty($this->choices)) return; $name = '_customize-radio-' . $this->id; ?> label); ?> taxonomy = esc_attr( $taxonomy ); if ( isset( $args['multiple'] ) ) { $this->multiple = ( true === $args['multiple'] ) ? true : false; } parent::__construct( $manager, $id, $args ); } /** * Render content. */ public function render_content() { $tax_args = array( 'hierarchical' => 0, 'taxonomy' => $this->taxonomy, ); $all_taxonomies = get_categories( $tax_args ); $multiple_text = ( true === $this->multiple ) ? 'multiple' : ''; $value = $this->value(); ?>