CoreFiles by mySites.guru
content-none.php35 lines, 946 bytes, from wordpress-5.1-beta1.zip
Raw History Compare with 5.0-beta5
md5
fbccb7d50870dab6d84e857e15a1ebf9
sha1
7da8a81f250cb189e9bf0f1a008e3b0b973e40b7
sha256
909d18124539a925e168f867d0a461d89c4ac44a114dfd8495bace236d08311b
<?php
/**
 * Template part for displaying a message that posts cannot be found
 *
 * @link https://developer.wordpress.org/themes/basics/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 -->

No other release has this exact content. See every version of this file.