mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-17 15:45:44 +03:00
Theme: Initial commit.
This was forked from `pub/wporg-main` and `pub/wporg-plugins`, and then customized.
This commit is contained in:
commit
de191e098b
38 changed files with 4532 additions and 0 deletions
29
themes/wporg-5ftf/template-parts/content-none.php
Normal file
29
themes/wporg-5ftf/template-parts/content-none.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<section class="no-results not-found">
|
||||
<header class="page-header">
|
||||
<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'wporg-5ftf' ); ?></h1>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<div class="page-content">
|
||||
<?php if ( is_search() ) : ?>
|
||||
|
||||
<p>
|
||||
<?php esc_html_e( 'Sorry, but nothing matched your search terms.', 'wporg-5ftf' ); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php esc_html_e( 'Please try again with some different keywords.', 'wporg-5ftf' ); ?>
|
||||
</p>
|
||||
|
||||
<?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.', 'wporg-5ftf' ); ?>
|
||||
</p>
|
||||
|
||||
<?php get_search_form(); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
</div><!-- .page-content -->
|
||||
</section><!-- .no-results -->
|
Loading…
Add table
Add a link
Reference in a new issue