| Server IP : 119.59.104.26 / Your IP : 216.73.216.147 Web Server : Apache/2 System : Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64 User : com12370 ( 1517) PHP Version : 7.2.34 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/com12370/public_html/wp-content/themes/MIXThemes/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' );