add_section(
'theme_upsell',
array(
'title' => esc_html__( 'Unlock More Features', 'blogbyte' ),
'priority' => 1,
)
);
$wp_customize->add_setting(
'theme_pro_features',
array(
'sanitize_callback' => '__return_true',
)
);
$wp_customize->add_control(
new Blogbyte_Upsell(
$wp_customize,
'theme_pro_features',
array(
'section' => 'theme_upsell',
'type' => 'upsell',
)
)
);
// Front Page.
$wp_customize->add_section(
new Blogbyte_Section_Features_List(
$wp_customize,
'theme_widget_features_home',
array(
'title' => esc_html__( 'Over 16+ Widgets', 'blogbyte' ),
'description' => sprintf( __( 'Along with the above sections, this theme comes with wide range of widgets that you can combine in any number and sequences and place in over 10+ widgetareas to build your unique website.
Go to widgets.', 'blogbyte' ), esc_url( admin_url( 'widgets.php' ) ) ),
'features_list' => array(
esc_html__( 'Ads Code', 'blogbyte' ),
esc_html__( 'Adress Info ( 2+ Styles )', 'blogbyte' ),
esc_html__( 'Author Info ( 3+ Styles )', 'blogbyte' ),
esc_html__( 'Call To Action ( 4+ Styles )', 'blogbyte' ),
esc_html__( 'Grid Posts ( 4+ Styles )', 'blogbyte' ),
esc_html__( 'Heading ( 10+ Styles )', 'blogbyte' ),
esc_html__( 'List Posts ( 11+ Styles )', 'blogbyte' ),
esc_html__( 'Mailchimp/Newsletter ( 3+ Styles )', 'blogbyte' ),
esc_html__( 'Popular Posts ( 3+ Styles )', 'blogbyte' ),
esc_html__( 'Categories Grid ( 4+ Styles )', 'blogbyte' ),
esc_html__( 'Posts Overlay Grid ( 7+ Styles )', 'blogbyte' ),
esc_html__( 'Posts slider ( 2+ Styles )', 'blogbyte' ),
esc_html__( 'Posts Carousel ( 2+ Styles )', 'blogbyte' ),
esc_html__( 'Single Column Posts', 'blogbyte' ),
esc_html__( 'Tab Posts ( 3+ Styles )', 'blogbyte' ),
esc_html__( 'Social Menu ( 4+ Styles )', 'blogbyte' ),
),
'is_upsell_feature' => false,
'panel' => 'theme_home_option_panel',
'priority' => 999,
)
)
);