Server IP : 85.214.239.14 / Your IP : 18.189.182.31 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/cwd/var/www/wordpress/wp-content/themes/twentytwentyone/template-parts/content/ |
Upload File : |
<?php /** * Template part for displaying a message that posts cannot be found * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package WordPress * @subpackage Twenty_Twenty_One * @since Twenty Twenty-One 1.0 */ ?> <section class="no-results not-found"> <header class="page-header alignwide"> <?php if ( is_search() ) : ?> <h1 class="page-title"> <?php printf( /* translators: %s: Search term. */ esc_html__( 'Results for "%s"', 'twentytwentyone' ), '<span class="page-description search-term">' . esc_html( get_search_query() ) . '</span>' ); ?> </h1> <?php else : ?> <h1 class="page-title"><?php esc_html_e( 'Nothing here', 'twentytwentyone' ); ?></h1> <?php endif; ?> </header><!-- .page-header --> <div class="page-content default-max-width"> <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> <?php printf( '<p>' . wp_kses( /* translators: %s: Link to WP admin new post page. */ __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentytwentyone' ), array( 'a' => array( 'href' => array(), ), ) ) . '</p>', esc_url( admin_url( 'post-new.php' ) ) ); ?> <?php elseif ( is_search() ) : ?> <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentytwentyone' ); ?></p> <?php get_search_form(); ?> <?php else : ?> <p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentytwentyone' ); ?></p> <?php get_search_form(); ?> <?php endif; ?> </div><!-- .page-content --> </section><!-- .no-results -->