add search page template

This commit is contained in:
Jonas Heinrich 2020-04-09 11:30:08 +02:00
parent 3bc3b331c0
commit b6a5c5792d
9 changed files with 100 additions and 95 deletions

39
kit/searchpage.php Normal file
View file

@ -0,0 +1,39 @@
<?php
/*
Template Name: Search Page
*/
get_header();
?>
<main>
<section class="full-width background-color-page-theme" id="c3318">
<?php if ( has_post_thumbnail() ) { ?>
<div class="intro-element align-center background-color-page-theme-contrast" style="background-image: url(<?php echo get_the_post_thumbnail_url(); ?>);">
<?php } else { ?>
<div class="intro-element align-center background-color-page-theme-contrast" style="background-image: url(/fileadmin/user_upload/00_Startseite/20191216-CN-02-251_Homepage.jpg);">
<?php } ?>
<div class="content-wrap">
<h1>Suche</h1>
</div>
</div>
</section>
<section class="background-color-white">
<div class="content-wrap">
<article>
<?php get_search_form(); ?>
</article>
</div>
</section>
</main>
<?php
get_template_part('template-parts/sidebar');
get_footer();