Code Duplication    Length = 6-6 lines in 2 locations

header.php 1 location

@@ 30-35 (lines=6) @@
27
	<header id="masthead" class="site-header" role="banner">
28
		<div class="site-branding">
29
			<?php
30
			if ( is_front_page() && is_home() ) : ?>
31
				<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
32
			<?php else : ?>
33
				<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
34
			<?php
35
			endif;
36
37
			$description = get_bloginfo( 'description', 'display' );
38
			if ( $description || is_customize_preview() ) : ?>

page-template/page-home.php 1 location

@@ 25-30 (lines=6) @@
22
		<header id="masthead" class="site-header" role="banner">
23
			<div class="site-branding">
24
				<?php
25
				if ( is_front_page() && is_home() ) : ?>
26
				<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
27
			<?php //else : ?>
28
				<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
29
				<?php
30
				endif;
31
32
				$description = get_bloginfo( 'description', 'display' );
33
				if ( $description || is_customize_preview() ) : ?>