-
Notifications
You must be signed in to change notification settings - Fork 0
/
header-archive.php
27 lines (25 loc) · 1.24 KB
/
header-archive.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<header id="masthead" class="site-header">
<div class="site-branding">
<div class="no-hero flex-wrap">
<div class="header-runner">
<div class="wrap flex-wrap">
<header class="entry-header flex-wrap">
<div class="entry-header-right">
<span class="entry-header-span-b flex-wrap">
<?php
if (is_search()) {
echo '<h1>';
/* translators: %s: search query. */
printf(esc_html__('Search Results for: %s', 'ucsc-pbsci'), '<span>' . get_search_query() . '</span>');
echo '</h1>';
} else {
the_archive_title('<h1 class="page-title">', '</h1>');
}
?>
</span>
</div>
</header><!-- .entry-header -->
</div><!-- .hero-home wrap -->
</div><!-- .header-runner -->
</div><!-- .site-branding -->
</header><!-- #masthead -->