first commit

This commit is contained in:
Roman Pyrih
2023-07-24 08:30:51 +02:00
commit c2e100a763
7128 changed files with 1622619 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
/**
* The template for displaying a "No posts found" message
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
<p><?php printf( esc_html__( 'Ready to publish your first post?', 'solarify') . '<a href="%1$s">' . esc_html__( 'Get started here', 'solarify' ). '</a>.', admin_url( 'post-new.php' ) ); ?></p>
<?php elseif ( is_search() ) : ?>
<p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'solarify' ); ?></p>
<div class="widget widget_search">
<?php get_search_form(); ?>
</div>
<?php else : ?>
<p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'solarify' ); ?></p>
<div class="widget widget_search">
<?php get_search_form(); ?>
</div>
<?php endif;