Server IP : 172.67.157.199 / Your IP : 3.138.175.52 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/chroot/var/www/wp-content/themes/CubicWP/template-parts/ |
Upload File : |
<?php /** * Template part for displaying a message that posts cannot be found. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package ListMode WordPress Theme * @copyright Copyright (C) 2024 ThemesDNA * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later * @author ThemesDNA <[email protected]> */ ?> <div class="no-results not-found"> <div class="listmode-page-header-outside"> <header class="listmode-page-header"> <div class="listmode-page-header-inside"> <?php if ( listmode_get_option('no_search_heading') ) : ?> <h1 class="page-title"><?php echo esc_html( listmode_get_option('no_search_heading') ); ?></h1> <?php else : ?> <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'listmode' ); ?></h1> <?php endif; ?> </div> </header><!-- .listmode-page-header --> </div> <div class="page-content"> <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> <p><?php printf( 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>.', 'listmode' ), array( 'a' => array( 'href' => array(), ), ) ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p> <?php elseif ( is_search() ) : ?> <?php if ( listmode_get_option('no_search_results') ) : ?> <p><?php echo wp_kses_post( force_balance_tags( listmode_get_option('no_search_results') ) ); ?></p> <?php else : ?> <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'listmode' ); ?></p> <?php endif; ?> <?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.', 'listmode' ); ?></p> <?php get_search_form(); ?> <?php endif; ?> </div><!-- .page-content --> </div><!-- .no-results -->