Browse Source

fix: standards

pull/358/head
Felipe Dalcin 3 years ago
parent
commit
1ca5366d1f
  1. 6
      header.php

6
header.php

@ -49,9 +49,9 @@
if ( has_post_thumbnail() ) {
echo get_the_post_thumbnail_url();
} else {
if (is_front_page()) {
if (has_header_image()) {
echo(get_header_image());
if ( is_front_page() ) {
if ( has_header_image() ) {
echo( get_header_image() );
} else {
echo get_template_directory_uri() . '/dist/images/header.jpg';
}

Loading…
Cancel
Save