| Server IP : 38.190.208.107 / Your IP : 216.73.216.187 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.12/wp-content/themes/dt-the7/template-parts/header/ |
Upload File : |
<?php
/**
* Top line header.
*
* @since 5.7.0
* @package The7/Templates
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<?php
presscore_get_template_part( 'theme', 'header/mixed-navigation', presscore_get_mixed_header_navigation() );
$config = presscore_config();
$top_line_right_classes = '';
$top_line_left_classes = '';
if ( ! presscore_get_header_elements_list( 'side_top_line' ) ) {
$top_line_left_classes = 'empty-widgets';
}
if ( ! presscore_get_header_elements_list( 'top_line_right' ) ) {
$top_line_right_classes = 'empty-widgets';
}
if ( $config->get( 'header.mixed.view.top_line.is_sticky' ) && !presscore_header_is_transparent()){
?>
<div class="top-line-space"></div>
<?php
}
?>
<div <?php presscore_mixed_header_class( 'masthead mixed-header' ); ?> <?php presscore_header_inline_style(); ?>>
<?php presscore_get_template_part( 'theme', 'header/top-bar' ); ?>
<header class="header-bar" role="banner">
<?php
presscore_get_template_part( 'theme', 'header/mixed-branding' );
if ( 'center' === $config->get( 'header.mixed.view.top_line.logo.position' ) || 'left' === $config->get( 'header.mixed.view.top_line.logo.position' ) ) {
echo '<div class="top-line-left ' . $top_line_left_classes . '" >';
presscore_render_header_elements( 'side_top_line', 'left-widgets' );
echo '</div><div class="top-line-right ' . $top_line_right_classes . '">';
presscore_render_header_elements( 'top_line_right', 'right-widgets' );
presscore_header_menu_icon();
echo '</div>';
} elseif ( 'left_btn-right_logo' === $config->get( 'header.mixed.view.top_line.logo.position' ) || 'left_btn-center_logo' === $config->get( 'header.mixed.view.top_line.logo.position' ) ) {
echo '<div class="top-line-left ' . $top_line_left_classes . '">';
presscore_header_menu_icon();
presscore_render_header_elements( 'side_top_line', 'left-widgets' );
echo '</div><div class="top-line-right ' . $top_line_right_classes . '">';
presscore_render_header_elements( 'top_line_right', 'right-widgets' );
echo '</div>';
}
?>
</header>
</div>