/**
    * Custom header image markup displayed on the Appearance > Header admin panel.
    *
    *
    * @since Simple Catch 2.7
    */
    function simplecatch_admin_header_image()
    {
        if (function_exists('simplecatch_headerdetails')) {
            simplecatch_headerdetails();
        }
        if (get_header_image()) {
            ?>
    	<div id="headimg">
			<a href="<?php 
            echo esc_url(home_url('/'));
            ?>
"><img src="<?php 
            header_image();
            ?>
" class="header-image" width="<?php 
            echo get_custom_header()->width;
            ?>
" height="<?php 
            echo get_custom_header()->height;
            ?>
" alt="<?php 
            echo esc_attr(get_bloginfo('name', 'display'));
            ?>
" /></a>
       	</div><!-- #headimg -->
	<?php 
        }
    }
Beispiel #2
0
 * as styles, scripts, and meta tags.
 */
wp_head();
?>
</head>
<body <?php 
body_class();
?>
>
<div id="header">
	<div class="top-bg"></div>
  		<div class="layout-978">
        	<?php 
// Funcition to show the header logo, site title and site description
if (function_exists('simplecatch_headerdetails')) {
    simplecatch_headerdetails();
}
?>

        	<div class="social-search">
				<?php 
// simplecatch_headersocialnetworks displays social links given from theme option in header
if (function_exists('simplecatch_headersocialnetworks')) {
    simplecatch_headersocialnetworks();
}
// get search form
get_search_form();
?>
      
        	</div><!-- .social-search -->
    		<div class="row-end"></div>