diff --git a/README.md b/README.md index da7cf36..011e7cc 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,9 @@ License: GNU GPL, Version 3, https://www.gnu.org/licenses/gpl-3.0.html Unless otherwise specified, all the theme files, scripts and images including the screenshot image are licensed under [GNU GPL] (http://www.gnu.org/licenses/gpl-3.0.txt), version 3 or later. == Changelog == += TBD = +* Add - Review link section on customizer. + = Version 1.4.3 - 2021-08-17 = * Enhancement - Added CSS font-display property and swap value for better performance. diff --git a/inc/customizer.php b/inc/customizer.php index 51748bd..58b9e49 100644 --- a/inc/customizer.php +++ b/inc/customizer.php @@ -889,6 +889,20 @@ function flash_customize_register( $wp_customize ) { ) ) ); + + $wp_customize->add_section( + new FLASH_Upsell_Section( + $wp_customize, + 'flash_review_section', + array( + 'title' => esc_html__( 'Leave a Review on .org', 'flash' ), + 'url' => 'https://wordpress.org/support/theme/flash/reviews/?filter=5/#new-post', + 'capability' => 'edit_theme_options', + 'priority' => 200, + ) + ) + ); + /* * Custom Scripts */ @@ -938,6 +952,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; + }