2013-07-29 00:55:10 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2013-10-12 00:02:11 +02:00
|
|
|
* The template for displaying a "No posts found" message
|
2013-07-29 00:55:10 +02:00
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Fourteen
|
2013-10-12 00:02:11 +02:00
|
|
|
* @since Twenty Fourteen 1.0
|
2013-07-29 00:55:10 +02:00
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2013-08-15 05:13:29 +02:00
|
|
|
<header class="page-header">
|
|
|
|
<h1 class="page-title"><?php _e( 'Nothing Found', 'twentyfourteen' ); ?></h1>
|
|
|
|
</header>
|
2013-07-29 00:55:10 +02:00
|
|
|
|
2013-08-15 05:13:29 +02:00
|
|
|
<div class="page-content">
|
|
|
|
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
|
2013-07-29 00:55:10 +02:00
|
|
|
|
2019-07-09 03:10:00 +02:00
|
|
|
<p>
|
|
|
|
<?php
|
|
|
|
/* translators: %s: post editor URL */
|
|
|
|
printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentyfourteen' ), admin_url( 'post-new.php' ) );
|
|
|
|
?>
|
|
|
|
</p>
|
2013-07-29 00:55:10 +02:00
|
|
|
|
2013-08-15 05:13:29 +02:00
|
|
|
<?php elseif ( is_search() ) : ?>
|
2013-07-29 00:55:10 +02:00
|
|
|
|
2013-08-15 05:13:29 +02:00
|
|
|
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentyfourteen' ); ?></p>
|
2019-01-12 07:41:52 +01:00
|
|
|
<?php get_search_form(); ?>
|
2013-07-29 00:55:10 +02:00
|
|
|
|
2013-08-15 05:13:29 +02:00
|
|
|
<?php else : ?>
|
2013-07-29 00:55:10 +02:00
|
|
|
|
2013-08-15 05:13:29 +02:00
|
|
|
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentyfourteen' ); ?></p>
|
2019-01-12 07:41:52 +01:00
|
|
|
<?php get_search_form(); ?>
|
2013-07-29 00:55:10 +02:00
|
|
|
|
2013-08-15 05:13:29 +02:00
|
|
|
<?php endif; ?>
|
|
|
|
</div><!-- .page-content -->
|