|
|
@ -50,16 +50,25 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="header__brand"> |
|
|
|
<div class="header__brand"> |
|
|
|
|
|
|
|
<h1> |
|
|
|
<a class="header__logo" href="<?php echo network_home_url(); ?>">
|
|
|
|
<a class="header__logo" href="<?php echo network_home_url(); ?>">
|
|
|
|
|
|
|
|
<?php if ( has_custom_logo() ) { ?> |
|
|
|
|
|
|
|
<?php $custom_logo_id = get_theme_mod( 'custom_logo' ); |
|
|
|
|
|
|
|
printf( |
|
|
|
|
|
|
|
'<img src="%1$s" srcset="%2$s" alt="%3$s" />', |
|
|
|
|
|
|
|
wp_get_attachment_image_src( $custom_logo_id, 'logo' )[0], |
|
|
|
|
|
|
|
wp_get_attachment_image_srcset( $custom_logo_id, 'large' ), |
|
|
|
|
|
|
|
sprintf( __( 'Logo for %s', 'pressbooks-aldine' ), get_bloginfo( 'name', 'display' ) ) |
|
|
|
|
|
|
|
); ?> |
|
|
|
|
|
|
|
<?php } else { ?> |
|
|
|
<svg class="logo--svg"> |
|
|
|
<svg class="logo--svg"> |
|
|
|
<use xlink:href="#logo-pressbooks" /> |
|
|
|
<use xlink:href="#logo-pressbooks" /> |
|
|
|
</svg> |
|
|
|
</svg><?php } |
|
|
|
<?php /* <span class="clip"> |
|
|
|
echo get_bloginfo( 'name', 'display' ); ?> |
|
|
|
<?php switch_to_blog( 1 ); echo get_bloginfo( 'name', 'display' ); restore_current_blog(); ?> |
|
|
|
|
|
|
|
</span> */ ?> |
|
|
|
|
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<h1><a href="<?php echo home_url( '/' ); ?>"><?php echo get_bloginfo( 'name', 'display' ); ?></a></h1>
|
|
|
|
</h1> |
|
|
|
<p><?php echo get_bloginfo( 'description', 'display' ); ?></p>
|
|
|
|
<p><?php echo get_bloginfo( 'description', 'display' ); ?></p>
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="header__end-container"> |
|
|
|
<div class="header__end-container"> |
|
|
|
<nav class="header__nav js-header-nav" id="navigation"> |
|
|
|
<nav class="header__nav js-header-nav" id="navigation"> |
|
|
|