Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/wp-content/themes/sinatra/template-parts/content/ |
Upload File : |
<?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 -->