File: /home/slyfwmm/adspray/wp-content/themes/aivons/template-parts/content-none.php
<?php
/**
* Template part for displaying a message that posts cannot be found
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package aivons
*/
?>
<section class="no-results not-found error-page__inner">
<header class="not-found__page-header">
<h2 class="page-title error-page__tagline"><?php esc_html_e('Nessun risultato', 'aivons'); ?></h2>
</header><!-- .not-found__page-header -->
<div class="not-found__page-content">
<?php
if (is_home() && current_user_can('publish_posts')) :
printf(
'<p class="error-page__text">' . wp_kses(
/* translators: 1: link to WP admin new post page. */
esc_html__('Ready to publish your first post? ', 'aivons') . '<a href="%1$s">' . esc_html__('Get started here', 'aivons') . '</a>.',
array(
'a' => array(
'href' => array(),
),
)
) . '</p>',
esc_url(admin_url('post-new.php'))
);
elseif ( is_search() ) :
?>
<p><?php esc_html_e( 'Siamo spiacenti, non abbiamo trovato nulla che corrisponde ai termini di ricerca. Prova ad effettuare una nuova ricerca.', 'ad-spray' ); ?></p>
<?php get_search_form();
else :
?>
<p><?php esc_html_e( 'Non siamo riusciti a trovare quello che cerchi. Prova ad effettuare una nuova ricerca.', 'ad-spray' ); ?></p>
<?php get_search_form();
endif; ?>
</div><!-- .page-content -->
</section><!-- .no-results -->