C:\xampp\htdocs\landing\wp-content\updraft\themes-old\pennews_\template-parts\header\logo.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
$flag 
false;
if( 
penci_get_theme_mod'penci_logo_trans' ) && penci__header_tran() ) {
    
$flag true;
}
?>

<div class="site-branding<?php if( $flag ): echo ' penci-logo-tenable'; endif; ?>">
    <?php if( penci_get_setting'penci_use_textlogo' ) && penci_get_setting'penci_text_logo' ) ) : ?>
        <?php if ( is_front_page() ) : ?>
            <h1 class="site-title"><a href="<?php echo esc_urlpenci_home_url() ); ?>" rel="home"><?php echo penci_get_setting'penci_text_logo' ); ?></a></h1>
        <?php else : ?>
            <h2 class="site-title"><a href="<?php echo esc_urlpenci_home_url() ); ?>" rel="home"><?php echo penci_get_setting'penci_text_logo' ); ?></a></h2>
        <?php endif; ?>
    <?php elseif ( function_exists'the_custom_logo' ) && has_custom_logo() ) : ?>

    <?php
    $tag_h1 
'h2';
    if ( 
is_front_page() || is_home() ) {

        
$description get_bloginfo'description''display' );
        
$use_tagline get_theme_mod'penci_use_tagline_h1' );

        if( 
$description && $use_tagline ){
            echo 
'<h1 style="display:none !important;">' $description '</h1>';
        }else{
            
$tag_h1 'h1';
        }
    }
    
?>
    <<?php echo ( $tag_h1 ); ?>><?php the_custom_logo(); ?></<?php echo ( $tag_h1 ); ?>>
        <?php
        
if( $flag ) {
            echo 
'<a href="' esc_urlpenci_home_url() ) . '" class="penci-trans-logo">
            <img src="'
penci_get_theme_mod'penci_logo_trans' ) .'" class="custom-logo" alt="'get_bloginfo'name' ) .'">
            </a>'
;
        }
        
?>
    <?php endif; ?>
    <?php
    $description 
penci_get_setting'penci_header_slogan_text' );
    if ( 
$description ) : ?>
        <span class="site-description"><?php echo esc_html$description ); ?></span>
    <?php endif; ?>
</div><!-- .site-branding -->
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586