add_section( 'theme_info' , array(
'title' => __( 'Information Links' , 'rara-academic' ),
'priority' => 6,
));
$wp_customize->add_setting(
'setup_instruction',
array(
'sanitize_callback' => 'sanitize_text_field'
)
);
$wp_customize->add_control(
new Rara_Academic_Theme_Info(
$wp_customize,
'setup_instruction',
array(
'settings' => 'setup_instruction',
'section' => 'theme_info',
'description' => __( 'Instruction for how to setup Home Page in Rara Academic Theme 1. Go to Pages and create a new page (Title can be anything. For example, Home )
2. In right column and under Page Attributes, choose "Home Page" template
3. Click on Publish
4. Go to Appearance-> Customize -> Default Settings -> Static Front Page
5. Select A static page
6. Under Front Page, select the page that you created in the step 1
7. Save changes', 'rara-academic'),
)
)
);
$wp_customize->add_setting('theme_info_theme',array(
'default' => '',
'sanitize_callback' => 'wp_kses_post',
));
$theme_info = '';
$theme_info .= '