Done !
| Server IP : 194.181.228.65 / Your IP : 216.73.216.245 Web Server : LiteSpeed System : Linux wn13.webd.pl 5.14.0-687.46.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 11 09:03:19 EDT 2026 x86_64 User : prusit ( 133039) PHP Version : 5.6.40 Disable Function : exec, system, shell_exec, passthru, proc_open, proc_close, popen MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/prusit/public_html/optyk-kozy/wp-content/themes/astra/template-parts/ |
Upload File : |
<?php
/**
* Template part for displaying a message that posts cannot be found.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Astra
* @since 1.0.0
*/
?>
<section class="no-results not-found">
<div class="page-content">
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) { ?>
<p>
<?php
printf(
wp_kses(
/* translators: 1: link to new post */
__( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'astra' ),
array(
'a' => array(
'href' => array(),
),
)
),
esc_url( admin_url( 'post-new.php' ) )
);
?>
</p>
<?php } elseif ( is_search() ) { ?>
<p><?php echo esc_html( astra_default_strings( 'string-search-nothing-found-message', false ) ); ?></p>
<?php
if ( is_callable( 'Astra_Dynamic_CSS::astra_4_6_0_compatibility' ) && Astra_Dynamic_CSS::astra_4_6_0_compatibility() ) {
the_widget( 'WP_Widget_Search' );
} else {
get_search_form();
}
?>
<?php } else { ?>
<p><?php echo esc_html( astra_default_strings( 'string-content-nothing-found-message', false ) ); ?></p>
<?php get_search_form(); ?>
<?php } ?>
</div><!-- .page-content -->
</section><!-- .no-results -->