CoreFiles by mySites.guru
content-none.php33 lines, 924 bytes, from wordpress-4.9.21.zip
Raw History Compare with 4.9.20
md5
172608680e01601d364b059af1c2a41a
sha1
87c6cb41766e6b6053cf966fc83929e42a751c6d
sha256
0155853e4e43c64cce316215e4e3f7eb5c9a9fafbc54012246b5ad3b7c831f99
<?php
/**
 * Template part for displaying a message that posts cannot be found
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Seventeen
 * @since 1.0
 * @version 1.0
 */

?>

<section class="no-results not-found">
	<header class="page-header">
		<h1 class="page-title"><?php _e( 'Nothing Found', 'twentyseventeen' ); ?></h1>
	</header>
	<div class="page-content">
		<?php
		if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>

			<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyseventeen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>

		<?php else : ?>

			<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentyseventeen' ); ?></p>
			<?php
				get_search_form();

		endif; ?>
	</div><!-- .page-content -->
</section><!-- .no-results -->

The same content is in 195 releases, WordPress 4.7-beta1 to 5.0.32. See them all, or every version of this file.