| Server IP : 38.190.208.107 / Your IP : 216.73.217.1 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.9/wp-content/themes/dt-the7/template-parts/header/ |
Upload File : |
<?php
/**
* Branding template.
*
* @package The7/Templates
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="branding">
<div id="site-title" class="assistive-text"><?php bloginfo( 'name' ); ?></div>
<div id="site-description" class="assistive-text"><?php bloginfo( 'description' ); ?></div>
<?php
$logo = '';
$logo .= presscore_get_the_main_logo();
// Do not display mobile logo on mixed headers.
if ( ! presscore_header_layout_is_mixed() ) {
$logo .= presscore_get_the_mobile_logo();
}
$config = presscore_config();
$main_logo_class = '';
$show_main_transparent_logo = 'main' === $config->get( 'logo.header.transparent.style' );
$show_main_floating_logo = 'main' === $config->get( 'header.floating_navigation.logo.style' );
if ( $show_main_floating_logo && ( ! presscore_header_is_transparent() || $show_main_transparent_logo ) ) {
$main_logo_class = 'same-logo';
}
presscore_display_the_logo( $logo, $main_logo_class );
presscore_render_header_elements( 'near_logo_left' );
presscore_render_header_elements( 'near_logo_right' );
?>
</div>