| Server IP : 77.68.64.21 / Your IP : 216.73.216.219 Web Server : Apache System : Linux hp3-wp-1011378.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els9.x86_64 #1 SMP Fri Jul 10 17:06:31 UTC 2026 x86_64 User : csh2668128 ( 2112425) PHP Version : 8.1.34 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/domains/vol4/924/3261924/user/htdocs/wp-content/themes/jannah/templates/header/ |
Upload File : |
<?php
/**
* Header Main Template Part
*
* This template can be overridden by copying it to your-child-theme/templates/header/load.php.
*
* HOWEVER, on occasion TieLabs will need to update template files and you
* will need to copy the new files to your child theme to maintain compatibility.
*
* @author TieLabs
* @version 2.1.0
*/
defined( 'ABSPATH' ) || exit; // Exit if accessed directly
// Show the header if it is enabled
if( ! apply_filters( 'TieLabs/is_header_active', true ) ){
return;
}
do_action( 'TieLabs/before_header' );
// Rainbow Line
if( tie_get_option( 'rainbow_header' ) ){
echo '<div class="rainbow-line"></div>';
}
?>
<header id="theme-header" <?php tie_header_class(); ?>>
<?php
// Top Nav Above the Header
if( ! tie_get_option( 'top_nav_position' ) ){
TIELABS_HELPER::get_template_part( 'templates/header/nav', 'top' );
}
// Main Nav above the Header
if( tie_get_option( 'main_nav_position' ) ){
TIELABS_HELPER::get_template_part( 'templates/header/nav', 'main' );
}
// Header Content area
if( tie_get_option( 'header_layout', 3 ) != 1 ){
TIELABS_HELPER::get_template_part( 'templates/header/content' );
}
// Main Nav Below the Header
if( ! tie_get_option( 'main_nav_position' ) ){
TIELABS_HELPER::get_template_part( 'templates/header/nav', 'main' );
}
// Top Nav Below the Header
if( tie_get_option( 'top_nav_position' ) ){
TIELABS_HELPER::get_template_part( 'templates/header/nav', 'top' );
}
?>
</header>
<?php
do_action( 'TieLabs/after_header' );
// Get the main slider for the categories
TIELABS_HELPER::get_template_part('templates/category-slider');
// Get single post below header layouts
TIELABS_HELPER::get_template_part( 'templates/header/posts-layout' );