-
Notifications
You must be signed in to change notification settings - Fork 25
/
content-none.php
32 lines (24 loc) · 975 Bytes
/
content-none.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
28
29
30
31
32
<?php
/**
* The template used for displaying page content in page.php
*
* @package themeHandle
*/
?>
<article class="post no-results not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Nothing Found', 'themeTextDomain' ); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
<?php if ( is_archive() ) : ?>
<p><?php _e( 'There are no published posts for this archive. Try searching using keywords instead.', 'themeTextDomain' ); ?></p>
<?php get_search_form(); ?>
<?php elseif ( is_search() ) : ?>
<p><?php _e( 'No matches were found for your search terms. Please try again with different keywords.', 'themeTextDomain' ); ?></p>
<?php get_search_form(); ?>
<?php else : ?>
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps a search would help?', 'themeTextDomain' ); ?></p>
<?php get_search_form(); ?>
<?php endif; ?>
</div><!-- .entry-content -->
</article>