2020-04-07 13:03:04 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template part for displaying a message that posts cannot be found.
|
|
|
|
*
|
|
|
|
* @package GeneratePress
|
|
|
|
*/
|
|
|
|
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
exit; // Exit if accessed directly.
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
|
|
|
<div class="no-results not-found">
|
|
|
|
<div class="inside-article">
|
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* generate_before_content hook.
|
|
|
|
*
|
|
|
|
* @since 0.1
|
|
|
|
*
|
|
|
|
* @hooked generate_featured_page_header_inside_single - 10
|
|
|
|
*/
|
|
|
|
do_action( 'generate_before_content' );
|
|
|
|
?>
|
|
|
|
|
|
|
|
<header class="entry-header">
|
2020-10-20 15:16:18 +00:00
|
|
|
<h1 class="entry-title"><?php _e( 'Nothing Found', 'generatepress' ); ?></h1>
|
|
|
|
</header>
|
2020-04-07 13:03:04 +00:00
|
|
|
|
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* generate_after_entry_header hook.
|
|
|
|
*
|
|
|
|
* @since 0.1
|
|
|
|
*
|
|
|
|
* @hooked generate_post_image - 10
|
|
|
|
*/
|
|
|
|
do_action( 'generate_after_entry_header' );
|
|
|
|
?>
|
|
|
|
|
|
|
|
<div class="entry-content">
|
|
|
|
|
|
|
|
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<?php
|
2020-10-20 15:16:18 +00:00
|
|
|
printf(
|
2020-04-07 13:03:04 +00:00
|
|
|
/* translators: 1: Admin URL */
|
|
|
|
__( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'generatepress' ),
|
|
|
|
esc_url( admin_url( 'post-new.php' ) )
|
|
|
|
);
|
|
|
|
?>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<?php elseif ( is_search() ) : ?>
|
|
|
|
|
2020-10-20 15:16:18 +00:00
|
|
|
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'generatepress' ); ?></p>
|
2020-04-07 13:03:04 +00:00
|
|
|
<?php get_search_form(); ?>
|
|
|
|
|
|
|
|
<?php else : ?>
|
|
|
|
|
2020-10-20 15:16:18 +00:00
|
|
|
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'generatepress' ); ?></p>
|
2020-04-07 13:03:04 +00:00
|
|
|
<?php get_search_form(); ?>
|
|
|
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
2020-10-20 15:16:18 +00:00
|
|
|
</div>
|
2020-04-07 13:03:04 +00:00
|
|
|
|
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* generate_after_content hook.
|
|
|
|
*
|
|
|
|
* @since 0.1
|
|
|
|
*/
|
|
|
|
do_action( 'generate_after_content' );
|
|
|
|
?>
|
2020-10-20 15:16:18 +00:00
|
|
|
</div>
|
|
|
|
</div>
|