forked from lucasr/wp-lucasr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-none.php
32 lines (25 loc) · 900 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 for displaying a "No posts found" message.
*
* @package WordPress
* @subpackage lucasr
*/
?>
<article id="post-0" class="post no-results not-found">
<header class="entry-header">
<hgroup>
<h1 class="entry-title">
<?php if ( is_404() ) : ?>
<?php _e( 'Oops! Page not found.', 'lucasr' ) ?>
<?php else : ?>
<?php _e( 'Nothing found.', 'lucasr' ) ?>
<?php endif; // end is_404() check ?>
</h1>
<h2 class="entry-date"><?php _e( 'Try a search?', 'lucasr' ); ?></h2>
</hgroup>
</header> <!-- .entry-header -->
<div class="entry-content">
<?php get_search_form(); ?>
</div> <!-- .entry-content -->
</article> <!-- #post -->