implement search page and search results
This commit is contained in:
parent
45fea232e6
commit
b72fd2f4b4
6 changed files with 171 additions and 50 deletions
|
|
@ -4,6 +4,29 @@ get_header();
|
|||
|
||||
<main>
|
||||
|
||||
|
||||
<?php
|
||||
if ( have_posts() ) :
|
||||
/* Start the Loop */
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
/*
|
||||
* Include the Post-Type-specific template for the content.
|
||||
* If you want to override this in a child theme, then include a file
|
||||
* called content-___.php (where ___ is the Post Type name) and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'template-parts/content', 'page' );
|
||||
|
||||
endwhile;
|
||||
|
||||
the_posts_navigation();
|
||||
else :
|
||||
get_template_part( 'template-parts/content', 'page' );
|
||||
endif;
|
||||
?>
|
||||
|
||||
|
||||
<section class="full-width background-color-page-theme" id="c947">
|
||||
<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);">
|
||||
<div class="content-wrap">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue