<?php /** * Template part for displaying a message that posts cannot be found * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package Gutener */ ?> <div class="no-results not-found"> <header class="page-header"> <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'gutener' ); ?></h1> </header><!-- .page-header --> <div class="page-content"> <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : printf( '<p>' . wp_kses( /* translators: 1: link to WP admin new post page. */ __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'gutener' ), array( 'a' => array( 'href' => array(), ), ) ) . '</p>', esc_url( admin_url( 'post-new.php' ) ) ); elseif ( is_search() ) : ?> <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'gutener' ); ?></p> <?php get_search_form(); else : ?> <p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'gutener' ); ?></p> <?php get_search_form(); endif; ?> </div><!-- .page-content --> </div><!-- .no-results -->
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
feature-posts | Folder | 0755 |
|
|
footer | Folder | 0755 |
|
|
header | Folder | 0755 |
|
|
highlight-posts | Folder | 0755 |
|
|
slider | Folder | 0755 |
|
|
content-author.php | File | 912 B | 0644 |
|
content-none.php | File | 1.27 KB | 0644 |
|
content-page.php | File | 1.04 KB | 0644 |
|
content-related-posts.php | File | 1.43 KB | 0644 |
|
content-search.php | File | 1.2 KB | 0644 |
|
content-single.php | File | 772 B | 0644 |
|
content.php | File | 6.23 KB | 0644 |
|
header-contact.php | File | 1.01 KB | 0644 |
|
offcanvas-menu.php | File | 1.92 KB | 0644 |
|
site-branding.php | File | 1.71 KB | 0644 |
|
site-info.php | File | 515 B | 0644 |
|