From e43e24f66e155b30c46b11c8f1b177a95cf39e89 Mon Sep 17 00:00:00 2001 From: Rodica-Elena Andronache Date: Thu, 2 Mar 2017 15:10:57 +0200 Subject: [PATCH] Removed some of the upsells --- inc/customizer.php | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/inc/customizer.php b/inc/customizer.php index 0af5bf3..72c1f4b 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -101,46 +101,6 @@ public function render_content() { 'button_text' => esc_html__( 'View PRO version', 'oblique' ), ) ) ); - /** - * Colors Notice - */ - $wp_customize->add_setting( 'oblique_theme_info_colors_section_control', array( - 'sanitize_callback' => 'esc_html', - ) ); - - $wp_customize->add_control( new Oblique_Control_Upsell_Theme_Info( $wp_customize, 'oblique_theme_info_colors_section_control', array( - 'section' => 'colors', - 'priority' => 500, - 'options' => array( - esc_html__( 'Extra Colors', 'oblique' ), - ), - 'explained_features' => array( - esc_html__( 'Get full color schemes support for your site.', 'oblique' ), - ), - 'button_url' => esc_url( 'https://themeisle.com/themes/oblique-pro/' ), - 'button_text' => esc_html__( 'View PRO version', 'oblique' ), - ) ) ); - - /** - * Blog Section Upsell - */ - $wp_customize->add_setting( 'oblique_theme_info_blog_section_control', array( - 'sanitize_callback' => 'esc_html', - ) ); - - $wp_customize->add_control( new Oblique_Control_Upsell_Theme_Info( $wp_customize, 'oblique_theme_info_blog_section_control', array( - 'section' => 'blog_options', - 'priority' => 500, - 'options' => array( - esc_html__( 'Alternative Layout', 'oblique' ), - ), - 'explained_features' => array( - esc_html__( 'Choose between 2 styles to display your posts on the front page.', 'oblique' ), - ), - 'button_url' => esc_url( 'https://themeisle.com/themes/oblique-pro/' ), - 'button_text' => esc_html__( 'View PRO version', 'oblique' ), - ) ) ); - /** * Header Section Upsell */