| Server IP : 194.30.32.123 / Your IP : 216.73.216.89 Web Server : Apache System : Linux 4f6650a08421 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64 User : ftpbegirale ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /expert/htwebs/www.begirale.com/public/wp-content/themes/exs/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 WordPress
* @subpackage ExS
* @since 0.0.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
$heading = exs_option( 'search_none_heading', '' ) ? exs_option( 'search_none_heading', '' ) : esc_html__( 'Nothing Found', 'exs' );
$text = exs_option( 'search_none_text', '' ) ? exs_option( 'search_none_text', '' ) : esc_html__( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'exs' );
$content_none = exs_option( 'search_none_content', '' ) ? exs_option( 'search_none_content', '' ) : esc_html__( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'exs' );
?>
<h4 class="page-title"><?php echo esc_html( $heading ); ?></h4>
<?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>.', 'exs' ),
array(
'a' => array(
'href' => array(),
),
)
)
. '</p>',
esc_url( admin_url( 'post-new.php' ) )
);
elseif ( is_search() ) :
?>
<p><?php echo esc_html( $text ); ?></p>
<?php
else :
?>
<p><?php echo esc_html( $content_none ); ?></p>
<?php
get_search_form();
endif;