Loading page.php +4 −6 Original line number Diff line number Diff line Loading @@ -20,15 +20,13 @@ get_header(); ?> <main> <article> <header <?php echo ' style="background-image:url(\''; if ( has_post_thumbnail($post->ID) ) { <header style="background-image:url(' <?php if ( has_post_thumbnail($post->ID) ) { echo wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); } else { echo get_header_image(); } echo '\');"';?> > } ?> ')"> <h1><?php the_title(); ?></h1> </header> <div class="content"> Loading single.php +4 −6 Original line number Diff line number Diff line Loading @@ -22,15 +22,13 @@ get_header(); ?> <main> <article> <header <?php echo ' style="background-image:url(\''; if ( has_post_thumbnail($post->ID) ) { <header style="background-image:url(' <?php if ( has_post_thumbnail($post->ID) ) { echo wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); } else { echo get_header_image(); } echo '\');"';?> > } ?> ')"> <h1><?php the_title(); ?></h1> </header> <div class="content"> Loading Loading
page.php +4 −6 Original line number Diff line number Diff line Loading @@ -20,15 +20,13 @@ get_header(); ?> <main> <article> <header <?php echo ' style="background-image:url(\''; if ( has_post_thumbnail($post->ID) ) { <header style="background-image:url(' <?php if ( has_post_thumbnail($post->ID) ) { echo wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); } else { echo get_header_image(); } echo '\');"';?> > } ?> ')"> <h1><?php the_title(); ?></h1> </header> <div class="content"> Loading
single.php +4 −6 Original line number Diff line number Diff line Loading @@ -22,15 +22,13 @@ get_header(); ?> <main> <article> <header <?php echo ' style="background-image:url(\''; if ( has_post_thumbnail($post->ID) ) { <header style="background-image:url(' <?php if ( has_post_thumbnail($post->ID) ) { echo wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); } else { echo get_header_image(); } echo '\');"';?> > } ?> ')"> <h1><?php the_title(); ?></h1> </header> <div class="content"> Loading