Initial theme commit
This commit is contained in:
13
search.php
Executable file
13
search.php
Executable file
@@ -0,0 +1,13 @@
|
||||
<?php get_header(); ?>
|
||||
<main class="site-main">
|
||||
<div class="container content-grid">
|
||||
<section class="content-area">
|
||||
<header class="archive-header"><h1>Suche: <?php echo esc_html( get_search_query() ); ?></h1></header>
|
||||
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); get_template_part( 'template-parts/content', get_post_type() ); endwhile; ?>
|
||||
<div class="pagination"><?php the_posts_pagination(); ?></div>
|
||||
<?php else : get_template_part( 'template-parts/content', 'none' ); endif; ?>
|
||||
</section>
|
||||
<?php get_sidebar(); ?>
|
||||
</div>
|
||||
</main>
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user