Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( ! function_exists( 'catcheverest_header_left' ) ) :
- /**
- * Shows Header Left content
- *
- * Shows the site logo, title and description
- * @uses catcheverest_header action to add it in the header
- */
- function catcheverest_header_left() {
- global $_wp_default_headers;
- ?>
- <div id="header-left">
- <?php if (file_exists(get_template_directory() . '/images/logo.png')): ?>
- <h1 id="site-logo">
- <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
- <img src="<?php echo get_template_directory_uri();?>/images/logo.png" alt="" />
- </a>
- </h1>
- <div id="hgroup" class="with-logo">
- <?php else: ?>
- <?php echo '<div id="hgroup">'; ?>
- <?php endif; ?>
- <h1 id="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
- <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
- </div><!-- #hgroup -->
- </div><!-- #header-left -->
- <?php
- }
- endif; // catcheverest_header_left
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement