|
|
@ -45,6 +45,10 @@ |
|
|
|
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'pressbooks-aldine' ); ?></a>
|
|
|
|
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'pressbooks-aldine' ); ?></a>
|
|
|
|
<header class="header" role="banner" style="background-image: url( |
|
|
|
<header class="header" role="banner" style="background-image: url( |
|
|
|
<?php |
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ( has_post_thumbnail() ) { |
|
|
|
|
|
|
|
echo get_the_post_thumbnail_url(); |
|
|
|
|
|
|
|
} else { |
|
|
|
if ( is_front_page() ) { |
|
|
|
if ( is_front_page() ) { |
|
|
|
if ( has_header_image() ) { |
|
|
|
if ( has_header_image() ) { |
|
|
|
echo( get_header_image() ); |
|
|
|
echo( get_header_image() ); |
|
|
@ -54,6 +58,7 @@ |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
echo get_template_directory_uri() . '/dist/images/catalog-header.jpg'; |
|
|
|
echo get_template_directory_uri() . '/dist/images/catalog-header.jpg'; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
?> |
|
|
|
?> |
|
|
|
);"> |
|
|
|
);"> |
|
|
|
<div class="header__inside"> |
|
|
|
<div class="header__inside"> |
|
|
|