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
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2013-03-02 01:28:18 +00:00
|
|
|
<section class="no-results not-found">
|
|
|
|
<header class="page-header">
|
|
|
|
<h1 class="page-title"><?php _e( 'Nothing Found', '_s' ); ?></h1>
|
|
|
|
</header><!-- .page-header -->
|
2012-03-29 15:55:33 +00:00
|
|
|
|
2013-03-02 01:28:18 +00:00
|
|
|
<div class="page-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; ?>
|
2013-03-02 01:28:18 +00:00
|
|
|
</div><!-- .page-content -->
|
2013-07-11 19:12:59 +00:00
|
|
|
</section><!-- .no-results -->
|