2012-03-29 15:55:33 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template part for displaying a message that posts cannot be found.
|
|
|
|
*
|
|
|
|
* Learn more: http://codex.wordpress.org/Template_Hierarchy
|
|
|
|
*
|
|
|
|
* @package _s
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
|
|
|
<article id="post-0" class="post no-results not-found">
|
|
|
|
<header class="entry-header">
|
|
|
|
<h1 class="entry-title"><?php _e( 'Nothing Found', '_s' ); ?></h1>
|
|
|
|
</header><!-- .entry-header -->
|
|
|
|
|
|
|
|
<div class="entry-content">
|
2012-08-31 20:43:21 +00:00
|
|
|
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
|
2012-03-29 15:55:33 +00:00
|
|
|
|
2013-02-07 04:43:42 +00:00
|
|
|
<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', '_s' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
|
2012-03-29 15:55:33 +00:00
|
|
|
|
2012-08-14 06:30:50 +00:00
|
|
|
<?php elseif ( is_search() ) : ?>
|
2012-03-29 15:55:33 +00:00
|
|
|
|
|
|
|
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', '_s' ); ?></p>
|
|
|
|
<?php get_search_form(); ?>
|
|
|
|
|
2012-08-14 06:30:50 +00:00
|
|
|
<?php else : ?>
|
2012-03-29 15:55:33 +00:00
|
|
|
|
|
|
|
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', '_s' ); ?></p>
|
|
|
|
<?php get_search_form(); ?>
|
|
|
|
|
2012-08-14 06:30:50 +00:00
|
|
|
<?php endif; ?>
|
2012-03-29 15:55:33 +00:00
|
|
|
</div><!-- .entry-content -->
|
2012-05-23 19:01:41 +00:00
|
|
|
</article><!-- #post-0 .post .no-results .not-found -->
|