add_section( 'theme_info', array( 'title' => __( 'Demo and Documentation', 'chic-lifestyle' ), 'priority' => 6, ) ); $wp_customize->add_setting( 'setup_instruction', array( 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_control( new Themoments_Theme_Info( $wp_customize, 'setup_instruction', array( 'settings' => 'setup_instruction', 'section' => 'theme_info', 'description' => __( 'Check out step-by-step tutorial to create your website like the demo of Chic Lifestyle WordPress theme.', 'chic-lifestyle' ), ) ) ); $wp_customize->add_setting( 'theme_info_theme', array( 'default' => '', 'sanitize_callback' => 'wp_kses_post', ) ); $theme_info = ''; $theme_demo_url = "https://thebootstrapthemes.com/preview/?demo=chic-lifestyle"; $theme_details_url = "https://thebootstrapthemes.com/chic-lifestyle/"; $theme_documentation_url = "https://thebootstrapthemes.freshdesk.com/support/solutions/folders/44001184341"; $theme_info .= '' . __( 'Click Here', 'chic-lifestyle' ) . '
'; $theme_info .= '' . __( 'Click Here', 'chic-lifestyle' ) . '
'; $theme_info .= '' . __( 'Click Here', 'chic-lifestyle' ) . '
'; $wp_customize->add_control( new Themoments_Theme_Info( $wp_customize, 'theme_info_theme', array( 'section' => 'theme_info', 'description' => $theme_info, ) ) ); } add_action( 'customize_register', 'chic_lifestyle_customizer_theme_info' );