| Server IP : 60.247.133.247 / Your IP : 216.73.217.108 Web Server : Apache System : Linux ebs-119054 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64 User : goodwill ( 65985) PHP Version : 8.2.20 Disable Function : link,symlink,passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server,pcntl_fork,pcntl_rfork MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/wwwroot/goodwill/wwwroot/wp-content/themes/GoodWill/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>