From 9d4123cee1867ee7199b06bdc92d40611f547ecc Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Wed, 21 Jul 2021 14:54:07 -0500 Subject: Initial unmodified import from Astra (Version: 3.6.5) @ /wp-content/themes/astra/. --- ...stra-transparent-header-panels-and-sections.php | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 inc/addons/transparent-header/classes/class-astra-transparent-header-panels-and-sections.php (limited to 'inc/addons/transparent-header/classes/class-astra-transparent-header-panels-and-sections.php') diff --git a/inc/addons/transparent-header/classes/class-astra-transparent-header-panels-and-sections.php b/inc/addons/transparent-header/classes/class-astra-transparent-header-panels-and-sections.php new file mode 100644 index 0000000..42a8bc3 --- /dev/null +++ b/inc/addons/transparent-header/classes/class-astra-transparent-header-panels-and-sections.php @@ -0,0 +1,71 @@ + 'section-transparent-header', + 'title' => __( 'Transparent Header', 'astra' ), + 'panel' => ( true === Astra_Builder_Helper::$is_header_footer_builder_active ) ? 'panel-header-builder-group' : 'panel-header-group', + 'type' => 'section', + 'priority' => 33, + ), + + array( + 'name' => 'section-colors-header-group', + 'type' => 'section', + 'title' => __( 'Header', 'astra' ), + 'panel' => 'panel-colors-background', + 'priority' => 20, + ), + ); + + return array_merge( $configurations, $_configs ); + } + } +} + +/** + * Kicking this off by calling 'get_instance()' method + */ +new Astra_Transparent_Header_Panels_And_Sections(); -- cgit v1.2.3-60-g2f50