/
home
/
rekodeb
/
webrodez
/
wp-content
/
themes
/
calmer
/
Upload File
HOME
<?php /** * The template for displaying search results pages * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result * * @package calmer */ get_header(); $blog_sidebar = calmor_opt('blog_layout'); ?> <main id="primary" class="site-main"> <?php /** * if active core plugin banner will pull from core plugin * else default load form theme * @package _calmor Banner * @since 1.0.0 * hook --_calmor_banner -- 10 */ $banner_id = get_themebuilder_Id(get_the_ID(), 'banner'); do_action('calmor_banner_content', $banner_id, 'search'); calmor_wrapper_start( $blog_sidebar ); if ( have_posts() ) : ?> <?php /* Start the Loop */ while ( have_posts() ) : the_post(); /** * Run the loop for the search to output the results. * If you want to overload this in a child theme then include a file * called content-search.php and that will be used instead. */ get_template_part( 'template-parts/blog/content/content', get_theme_mod( 'display_excerpt_or_full_post', 'excerpt' ) ); endwhile; calmor_pagination(); else : get_template_part( 'template-parts/content', 'none' ); endif; calmor_wrapper_end($blog_sidebar); ?> </main><!-- #main --> <?php get_footer();