add_section( 'theme_info', array( 'title' => esc_html__( 'Video Documentation & Demo' , 'bulk' ), 'priority' => 6, ) ); /** Important Links */ $wp_customize->add_setting( 'theme_info_theme', array( 'default' => '', 'sanitize_callback' => 'wp_kses_post', ) ); $theme_info = '
'; /* translators: %s: "demos here" string */ $theme_info .= sprintf( __( 'You can use this theme to create a website like these %1$s', 'bulk' ), '' . esc_html__( 'demos', 'bulk' ) . '' ); $theme_info .= '
'; /* translators: %s: "documentation" string */ $theme_info .= sprintf( __( 'For step-by-step videos and text tutorials, see %1$s', 'bulk' ), '' . esc_html__( 'documentation', 'bulk' ) . '' ); $theme_info .= '
'; $wp_customize->add_control( new bulk_Info_Text( $wp_customize, 'theme_info_theme', array( 'section' => 'theme_info', 'description' => $theme_info ) ) ); } add_action( 'customize_register', 'bulk_customizer_theme_info' ); if ( class_exists( 'WP_Customize_control' ) ) { class bulk_Info_Text extends Wp_Customize_Control { public function render_content(){ ?> 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() { ?>