From d9422c64faf7ca4c860b8c3171d7bf4b6abb11cb Mon Sep 17 00:00:00 2001 From: Bikram48 Date: Mon, 31 Jan 2022 17:16:01 +0545 Subject: [PATCH 1/3] add - theme's review link in theme's customizer section --- inc/customizer.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/inc/customizer.php b/inc/customizer.php index 51748bd..78e0741 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -889,6 +889,19 @@ function flash_customize_register( $wp_customize ) { ) ) ); + + $wp_customize->add_section( + new FLASH_Upsell_Section( + $wp_customize, + 'flash_review_section', + array( + 'title' => esc_html__( 'Add Review', 'zakra' ), + 'url' => 'https://wordpress.org/support/theme/flash/reviews/#new-post', + 'capability' => 'edit_theme_options', + 'priority' => 200, + ) + ) + ); /* * Custom Scripts */ @@ -938,6 +951,19 @@ function flash_customizer_custom_scripts() { li#accordion-section-flash_upsell_section h3.accordion-section-title:after { color: #fff !important; } + + li#accordion-section-flash_review_section h3.accordion-section-title { + background-color: #30AFB8 !important; + color: #fff !important; + padding: 0; + } + + li#accordion-section-flash_review_section h3.accordion-section-title a { + color: #fff; + display: block; + text-decoration: none; + padding: 12px 15px 15px; + }