Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/app/themes/mitlib-parent/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<?php } else { ?>

<header class="entry-header">
<h1 class="entry-title">The requested content was not found.</h1>
<h1 class="entry-title">Sorry, that link doesn’t work anymore. Get help below!</h1>
</header>
<?php get_template_part( 'inc/site-search' ); ?>

Expand Down
12 changes: 4 additions & 8 deletions web/app/themes/mitlib-parent/inc/site-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,14 @@
</div>
</form>

<h2>Browse our <a href="/site-search">A-Z index of pages</a> on this site.</h2>

<p>You can also check out these commonly-used resources:</p>
<h2>Need help? <a href="/ask">Ask us!</a></h2>

<p>Or try:</p>
<ul>
<li><a href="//libraries.mit.edu/quicksearch">Quick search: Books, articles, &amp; more at MIT</a></li>
<li><a href="//libguides.mit.edu/directory">Staff directory</a></li>
<li><a href="/research-guides">Research guides - databases by subject</a></li>
<li><a href="/shortcuts/">Shortcuts to frequently used pages</a></li>
<li><a href="/search">Quick search: Books, articles, films, archival material, and more</a></li>
<li><a href="/research-guides">Research guides &amp; expert librarians</a></li>
<li><a href="//web.mit.edu/search.html">MIT web site search</a></li>
</ul>

<p><a href="/ask">Need more help? Ask us!</a></p>

</div><!-- .entry-content -->
6 changes: 6 additions & 0 deletions web/app/themes/mitlib-parent/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
/**
* The template for displaying Search Results pages.
*
* We generally don't rely on this template for _most_ of our site search.
* However, the template remains to handle built in search functionality in
* WordPress.
*
* Example link that uses this template: `/?s=keyword`
*
* @package MITlib_Parent
* @since 0.2.0
*/
Expand Down