'; echo '
  • ' .esc_html__( 'Home', 'daily-construction' ). '
  • '; wp_list_pages( array( 'title_li' => '', 'depth' => 1, 'number' => 5, ) ); echo ''; } endif; if ( ! class_exists( 'WP_Customize_Control' ) ) return NULL; /** * Class daily_construction_Dropdown_Taxonomies_Control */ class daily_construction_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' => 'daily-construction-dropdown-categories-' . $this->id, 'echo' => 0, 'show_option_none' => __( '— Select —', 'daily-construction' ), '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 ); } } /** * Customize Control for Repeater Text. * * @since 1.0.0 * * @see WP_Customize_Control */ class daily_construction_Repeater_Text_Control extends WP_Customize_Control { /** * Control type. * * @access public * @var string */ public $type = 'repeater-text'; /** * Render content. * * @since 1.0.0 */ public function render_content() { ?> 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 }} <# } #>