add_section(
'theme_upsell',
array(
'title' => esc_html__( 'Unlock More Features', 'blogmarks' ),
'priority' => 1,
)
);
$wp_customize->add_setting(
'theme_pro_features',
array(
'sanitize_callback' => '__return_true',
)
);
$wp_customize->add_control(
new Blogmarks_Upsell(
$wp_customize,
'theme_pro_features',
array(
'section' => 'theme_upsell',
'type' => 'upsell',
)
)
);
// General Options.
$wp_customize->add_section(
new Blogmarks_Section_Features_List(
$wp_customize,
'theme_general_features',
array(
'title' => esc_html__( 'More Options on Blogmarks Pro!', 'blogmarks' ),
'features_list' => array(
esc_html__( 'Dark mode options', 'blogmarks' ),
esc_html__( 'Menu badge options', 'blogmarks' ),
esc_html__( '17+ Preloader options', 'blogmarks' ),
esc_html__( 'More color options', 'blogmarks' ),
esc_html__( '404 page options', 'blogmarks' ),
esc_html__( '... and many other premium features', 'blogmarks' ),
),
'panel' => 'general_options_panel',
'priority' => 999,
)
)
);
// Header Options.
$wp_customize->add_section(
new Blogmarks_Section_Features_List(
$wp_customize,
'theme_header_features',
array(
'title' => esc_html__( 'More Options on Blogmarks Pro!', 'blogmarks' ),
'features_list' => array(
esc_html__( 'More topbar options', 'blogmarks' ),
esc_html__( '4+ header styles', 'blogmarks' ),
esc_html__( 'Header margin & padding controls', 'blogmarks' ),
esc_html__( 'Dark mode options', 'blogmarks' ),
esc_html__( 'More color options', 'blogmarks' ),
esc_html__( '... and many other premium features', 'blogmarks' ),
),
'panel' => 'header_options_panel',
'priority' => 999,
)
)
);
// Footer Options.
$wp_customize->add_section(
new Blogmarks_Section_Features_List(
$wp_customize,
'theme_footer_features',
array(
'title' => esc_html__( 'More Options on Blogmarks Pro!', 'blogmarks' ),
'features_list' => array(
esc_html__( '13+ footer layouts', 'blogmarks' ),
esc_html__( '15+ footer shape dividers', 'blogmarks' ),
esc_html__( 'Footer margin & padding controls', 'blogmarks' ),
esc_html__( 'More sub footer styles', 'blogmarks' ),
esc_html__( '15+ sub footer shape dividers', 'blogmarks' ),
esc_html__( 'Sub footer margin & padding controls', 'blogmarks' ),
esc_html__( '9+ scroll to top icons', 'blogmarks' ),
esc_html__( 'More scroll to top options', 'blogmarks' ),
esc_html__( 'Dark mode options', 'blogmarks' ),
esc_html__( 'More color options', 'blogmarks' ),
esc_html__( '... and many other premium features', 'blogmarks' ),
),
'panel' => 'footer_options_panel',
'priority' => 999,
)
)
);
// Front Page.
$wp_customize->add_section(
new Blogmarks_Section_Features_List(
$wp_customize,
'theme_widget_features_home',
array(
'title' => esc_html__( 'Over 16+ Widgets', 'blogmarks' ),
'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.', 'blogmarks' ), esc_url( admin_url( 'widgets.php' ) ) ),
'features_list' => array(
esc_html__( 'Ads Code', 'blogmarks' ),
esc_html__( 'Author Info ( 3+ Styles )', 'blogmarks' ),
esc_html__( 'Call To Action ( 4+ Styles )', 'blogmarks' ),
esc_html__( 'Grid Posts ( 2+ Styles )', 'blogmarks' ),
esc_html__( 'Heading ( 10+ Styles )', 'blogmarks' ),
esc_html__( 'List Posts ( 11+ Styles )', 'blogmarks' ),
esc_html__( 'Mailchimp/Newsletter ( 2+ Styles )', 'blogmarks' ),
esc_html__( 'Popular Posts ( 5+ Styles )', 'blogmarks' ),
esc_html__( 'Categories Grid ( 4+ Styles )', 'blogmarks' ),
esc_html__( 'Posts Overlay Grid ( 7+ Styles )', 'blogmarks' ),
esc_html__( 'Posts slider ( 2+ Styles )', 'blogmarks' ),
esc_html__( 'Posts Carousel ( 2+ Styles )', 'blogmarks' ),
esc_html__( 'Recent Posts ( 2+ Styles )', 'blogmarks' ),
esc_html__( 'Single Column Posts', 'blogmarks' ),
esc_html__( 'Tab Posts ( 3+ Styles )', 'blogmarks' ),
esc_html__( 'Social Menu ( 4+ Styles )', 'blogmarks' ),
),
'is_upsell_feature' => false,
'panel' => 'theme_home_option_panel',
'priority' => 999,
)
)
);
// Typography Options.
$wp_customize->add_section(
new Blogmarks_Section_Features_List(
$wp_customize,
'theme_typography_features',
array(
'title' => esc_html__( 'More Options on Blogmarks Pro!', 'blogmarks' ),
'features_list' => array(
esc_html__( 'Line heights', 'blogmarks' ),
esc_html__( 'Letter spacings', 'blogmarks' ),
esc_html__( 'Menu font sizes', 'blogmarks' ),
esc_html__( '(H1-H6) font sizes', 'blogmarks' ),
esc_html__( 'Body font sizes', 'blogmarks' ),
esc_html__( '... and many other premium features', 'blogmarks' ),
),
'panel' => 'typography_options_panel',
'priority' => 999,
)
)
);
// Archive Options.
$wp_customize->add_section(
new Blogmarks_Section_Features_List(
$wp_customize,
'theme_archive_features',
array(
'title' => esc_html__( 'More Options on Blogmarks Pro!', 'blogmarks' ),
'features_list' => array(
esc_html__( '8+ archive styles', 'blogmarks' ),
esc_html__( 'Read time options', 'blogmarks' ),
esc_html__( 'More category styles', 'blogmarks' ),
esc_html__( 'More read more styles', 'blogmarks' ),
esc_html__( '... and many other premium features', 'blogmarks' ),
),
'panel' => 'blog_options_panel',
'priority' => 999,
)
)
);
// Single Options.
$wp_customize->add_section(
new Blogmarks_Section_Features_List(
$wp_customize,
'theme_single_features',
array(
'title' => esc_html__( 'More Options on Blogmarks Pro!', 'blogmarks' ),
'features_list' => array(
esc_html__( '6+ single styles', 'blogmarks' ),
esc_html__( '5+ post navigation styles', 'blogmarks' ),
esc_html__( 'Floating related posts', 'blogmarks' ),
esc_html__( 'Extended gallery formats', 'blogmarks' ),
esc_html__( 'Extended audio formats', 'blogmarks' ),
esc_html__( 'Extended video formats', 'blogmarks' ),
esc_html__( 'Author box social links', 'blogmarks' ),
esc_html__( 'Post subtitle options', 'blogmarks' ),
esc_html__( 'Social share options', 'blogmarks' ),
esc_html__( '... and many other premium features', 'blogmarks' ),
),
'panel' => 'single_posts_options_panel',
'priority' => 999,
)
)
);
// Widgetare Options.
$wp_customize->add_section(
new Blogmarks_Section_Features_List(
$wp_customize,
'theme_widgetarea_features',
array(
'title' => esc_html__( 'More Options on Blogmarks Pro!', 'blogmarks' ),
'features_list' => array(
esc_html__( '15+ widgetareas shape dividers', 'blogmarks' ),
esc_html__( '15+ widgetareas title styles', 'blogmarks' ),
esc_html__( 'Widgetareas margin & padding', 'blogmarks' ),
esc_html__( 'Widgetareas visibilty options', 'blogmarks' ),
esc_html__( 'Dark mode options', 'blogmarks' ),
esc_html__( 'More color options', 'blogmarks' ),
esc_html__( '... and many other premium features', 'blogmarks' ),
),
'panel' => 'widgetareas_options_panel',
'priority' => 999,
)
)
);