Пример #1
0
" rel="home">
										<img src="<?php 
        echo $presentation_options['logo'];
        ?>
" alt="<?php 
        bloginfo('name');
        ?>
" id="header-logo" />
									</a>

								<?php 
        // Otherwise, we'll display the header text
        ?>
								<?php 
    } else {
        if (standard_has_header_text()) {
            ?>

									<?php 
            // If the user is on the front page, archive page, or one of the post formats without titles, we render h1's.
            ?>
									<?php 
            if (is_home() || is_archive() || 'video' == get_post_format() || 'image' == get_post_format() || '' == get_the_title()) {
                ?>

                                        <h1 id="site-title">
                                            <a href="<?php 
                echo esc_url(home_url('/'));
                ?>
" title="<?php 
                bloginfo('name');
Пример #2
0
?>
					
					<?php 
// If a user has uploaded a header image, display the header container
?>
					<?php 
if ('imageyup' == $head_class && !empty($header_image)) {
    ?>
						<div id="header-image" class="row-fluid">
							<div class="span12">
								
								<?php 
    // If the user has uploaded a logo or has uploaded header text, we need only to display the image
    ?>
								<?php 
    if (standard_has_logo() || standard_has_header_text()) {
        ?>
	
									<?php 
        // Show the header image based on which version of WordPress is running
        ?>
									<?php 
        if (standard_is_on_wp34()) {
            ?>
										<img src="<?php 
            esc_url(header_image());
            ?>
" width="<?php 
            echo get_custom_header()->width;
            ?>
" height="<?php