PHP Classes

File: search.php

Recommend this page to a friend!
  Classes of Victor Andeloci   Project P Wordpress Podcast Theme   search.php   Download  
File: search.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Project P Wordpress Podcast Theme
Publish pages for a podcast in a WordPress site
Author: By
Last change:
Date: 11 months ago
Size: 575 bytes
 

Contents

Class file image Download
<?php
    get_header
();
   
$search = filter_var($_GET['s'], FILTER_UNSAFE_RAW) ?? '';
?>

<main id="search">
    <div class="container">
        <?php get_template_part('parts/header_info'); ?>
<?php get_template_part('parts/banner_min', null, [
           
'search' => $search
       
]); ?>
<?php get_template_part('elements/nav'); ?>
<?php get_template_part('elements/category_selector'); ?>
<?php get_template_part('parts/last_posts', null, [
           
'search' => $search
       
]); ?>
</div>
</main>

<?php get_footer(); ?>