[ SYSTEM ]: Linux wordpress 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
astra-addon
/
addons
/
header-sections
/
template
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 above-header-layout-1.php
1,916 B
SET
[ EDIT ]
|
[ DEL ]
📄 above-header-layout-2.php
1,331 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: above-header-layout-2.php
<?php /** * Above Header Layout 2 * * This template generates markup required for the Above Header style 2 * * @todo Update this template for Default Above Header Style * * @package Astra Addon */ $astra_addon_abv_header_section_type = Astra_Ext_Header_Sections_Markup::get_above_header_section( 'above-header-section-1' ); $astra_addon_abv_header_section_value = astra_get_option( 'above-header-section-1' ); /** * Hide above header markup if: * * - User is not logged in. [AND] * - Sections 1 is set to none */ if ( empty( $astra_addon_abv_header_section_type ) ) { return; } ?> <div class="ast-above-header-wrap above-header-2" > <div class="ast-above-header"> <?php do_action( 'astra_above_header_top' ); ?> <div class="ast-container"> <div class="ast-flex ast-above-header-section-wrap"> <?php if ( $astra_addon_abv_header_section_type ) { ?> <div class="ast-above-header-section ast-above-header-section-1 ast-flex ast-justify-content-center <?php echo esc_attr( $astra_addon_abv_header_section_value ); ?>-above-header" > <?php echo do_shortcode( $astra_addon_abv_header_section_type ); ?> </div> <?php } ?> </div> </div><!-- .ast-container --> <?php do_action( 'astra_above_header_bottom' ); ?> </div><!-- .ast-above-header --> </div><!-- .ast-above-header-wrap -->