wp_back/wp-content/themes/simple-theme/template-search.php

37 lines
435 B
PHP
Raw Normal View History

2024-05-20 15:37:46 +03:00
<?php
//Template Name: Search
get_header();
<main id="primary" class="site-main">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<h1 class="page-title">
</h1>
</header><!-- .page-header -->
<?php
/* Start the Loop */
while ( have_posts() ) :
the_post();
endwhile;
the_posts_navigation();
else :
endif;
?>
</main><!-- #main -->
<?php
get_sidebar();
get_footer();