File Editor
Directories:
.. (Back)
Files:
content-404.php
content-blog-horizontal.php
content-blog-layout-1.php
content-none.php
content-page.php
content-sinatra-fullwidth.php
content-single.php
content.php
Create New File
Create
Edit File: content-none.php
<?php /** * Template part for displaying not found posts. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Sinatra * @author Sinatra Team <hello@sinatrawp.com> * @since 1.0.0 */ ?> <section class="no-results not-found"> <div class="page-content si-entry"> <?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>.', 'sinatra' ), array( 'a' => array( 'href' => array(), ), ) ) . '</p>', esc_url( admin_url( 'post-new.php' ) ) ); elseif ( is_search() ) : printf( '<p>' . wp_kses( __( 'Sorry, no results were found. Please try again with different keywords.', 'sinatra' ), sinatra_get_allowed_html_tags() ) . '</p>' ); get_search_form(); elseif ( is_category() ) : printf( '<p>' . wp_kses( __( 'There aren’t any posts currently published in this category.', 'sinatra' ), sinatra_get_allowed_html_tags() ) . '</p>' ); elseif ( is_tax() ) : printf( '<p>' . wp_kses( __( 'There aren’t any posts currently published under this taxonomy.', 'sinatra' ), sinatra_get_allowed_html_tags() ) . '</p>' ); elseif ( is_tag() ) : printf( '<p>' . wp_kses( __( 'There aren’t any posts currently published under this tag.', 'sinatra' ), sinatra_get_allowed_html_tags() ) . '</p>' ); else : printf( '<p>' . wp_kses( __( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'sinatra' ), sinatra_get_allowed_html_tags() ) . '</p>' ); get_search_form(); endif; ?> </div><!-- .page-content --> </section><!-- .no-results -->
Save Changes
Rename File
Rename