0
|
1 |
<?php |
|
2 |
/** |
|
3 |
* The template for displaying a "No posts found" message |
|
4 |
* |
|
5 |
* @package WordPress |
|
6 |
* @subpackage Twenty_Thirteen |
|
7 |
* @since Twenty Thirteen 1.0 |
|
8 |
*/ |
|
9 |
?> |
|
10 |
|
|
11 |
<header class="page-header"> |
|
12 |
<h1 class="page-title"><?php _e( 'Nothing Found', 'twentythirteen' ); ?></h1> |
|
13 |
</header> |
|
14 |
|
|
15 |
<div class="page-content"> |
|
16 |
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> |
|
17 |
|
|
18 |
<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentythirteen' ), admin_url( 'post-new.php' ) ); ?></p> |
|
19 |
|
|
20 |
<?php elseif ( is_search() ) : ?> |
|
21 |
|
|
22 |
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with different keywords.', 'twentythirteen' ); ?></p> |
10
|
23 |
<?php get_search_form(); ?> |
0
|
24 |
|
|
25 |
<?php else : ?> |
|
26 |
|
|
27 |
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentythirteen' ); ?></p> |
10
|
28 |
<?php get_search_form(); ?> |
0
|
29 |
|
|
30 |
<?php endif; ?> |
|
31 |
</div><!-- .page-content --> |