Sid Gifari From Gifari Industries - BD Cyber Security Team
Home
/
home
/
drleilu
/
www
/
wp-content
/
themes
/
beautique
/
skins
/
default
/
templates
/
✏️
Editing: header-custom.php
<?php /** * The template to display custom header from the ThemeREX Addons Layouts * * @package BEAUTIQUE * @since BEAUTIQUE 1.0.06 */ $beautique_header_css = ''; $beautique_header_image = get_header_image(); $beautique_header_video = beautique_get_header_video(); if ( ! empty( $beautique_header_image ) && beautique_trx_addons_featured_image_override( is_singular() || beautique_storage_isset( 'blog_archive' ) || is_category() ) ) { $beautique_header_image = beautique_get_current_mode_image( $beautique_header_image ); } $beautique_header_id = beautique_get_custom_header_id(); $beautique_header_meta = get_post_meta( $beautique_header_id, 'trx_addons_options', true ); if ( ! empty( $beautique_header_meta['margin'] ) ) { beautique_add_inline_css( sprintf( '.page_content_wrap{padding-top:%s}', esc_attr( beautique_prepare_css_value( $beautique_header_meta['margin'] ) ) ) ); } ?><header class="top_panel top_panel_custom top_panel_custom_<?php echo esc_attr( $beautique_header_id ); ?> top_panel_custom_<?php echo esc_attr( sanitize_title( get_the_title( $beautique_header_id ) ) ); ?> <?php echo ! empty( $beautique_header_image ) || ! empty( $beautique_header_video ) ? ' with_bg_image' : ' without_bg_image'; if ( '' != $beautique_header_video ) { echo ' with_bg_video'; } if ( '' != $beautique_header_image ) { echo ' ' . esc_attr( beautique_add_inline_css_class( 'background-image: url(' . esc_url( $beautique_header_image ) . ');' ) ); } if ( is_single() && has_post_thumbnail() ) { echo ' with_featured_image'; } if ( beautique_is_on( beautique_get_theme_option( 'header_fullheight' ) ) ) { echo ' header_fullheight beautique-full-height'; } $beautique_header_scheme = beautique_get_theme_option( 'header_scheme' ); if ( ! empty( $beautique_header_scheme ) && ! beautique_is_inherit( $beautique_header_scheme ) ) { echo ' scheme_' . esc_attr( $beautique_header_scheme ); } ?> "> <?php // Background video if ( ! empty( $beautique_header_video ) ) { get_template_part( apply_filters( 'beautique_filter_get_template_part', 'templates/header-video' ) ); } // Custom header's layout do_action( 'beautique_action_show_layout', $beautique_header_id ); // Header widgets area get_template_part( apply_filters( 'beautique_filter_get_template_part', 'templates/header-widgets' ) ); ?> </header>
💾 Save
❌ Cancel