mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-18 17:33:43 +03:00
38 lines
706 B
PHP
38 lines
706 B
PHP
<?php get_header(); ?>
|
|
<main id="main" class="site-main" role="main">
|
|
|
|
<?php if ( have_posts() ) : ?>
|
|
<header class="page-header">
|
|
<h1 class="page-title">
|
|
<?php
|
|
printf(
|
|
/* translators: Search query. */
|
|
esc_html__( 'Showing results for: %s', 'wporg-5ftf' ),
|
|
'<strong>' . get_search_query() . '</strong>'
|
|
);
|
|
?>
|
|
</h1>
|
|
</header><!-- .page-header -->
|
|
|
|
<?php
|
|
|
|
while ( have_posts() ) :
|
|
the_post();
|
|
|
|
get_template_part( 'template-parts/content', get_post_type() );
|
|
|
|
endwhile;
|
|
|
|
the_posts_pagination();
|
|
|
|
?>
|
|
|
|
<?php else :
|
|
|
|
get_template_part( 'template-parts/content', 'none' );
|
|
|
|
endif; ?>
|
|
</main><!-- #main -->
|
|
|
|
<?php get_footer();
|