<?php

/**
 * Template part for displaying a message that posts cannot be found
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WordPress
 * @subpackage NeatNote
 * @since 1.0.0
 */

?>

<div class="no-results neatnote-not-found neatnoteNotFoundContent">
	<div class="NeatNote-wrapper">
		<div class="neatnoteNotFoundMain NeatNote-p80-0">
			<div class="neatnote-page-header">
				<h1 class="neatnote-page-title"><?php _e('Nothing Found', 'neatnote'); ?></h1>
			</div>
			<div class="neatnote-page-content neatnote-pt15 neatNote-textDecoration">
				<?php
				if (is_home() && current_user_can('publish_posts')) :
					printf(
						'<p>' . wp_kses(
							__('Ready to publish your first post? <a href="%1$s">Get started here.</a>', 'neatnote'),
							array(
								'a' => array(
									'href' => array(),
								),
							)
						) . '</p>',
						esc_url(admin_url('post-new.php'))
					);
				elseif (is_search()) :
				?>
					<p><?php _e('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'neatnote'); ?></p>
					<div class="NeatNoteSerchForm neatnote-pt15">
						<?php
						get_search_form();
						?>
					</div>
				<?php
				else :
				?>
					<p><?php _e('It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'neatnote'); ?></p>
				<?php
					get_search_form();
				endif;
				?>
			</div>
		</div>
	</div>
</div>