File "search.php"
Full Path: /home/arielcor/public_html/wp-content/themes/pisces/search.php
File size: 1.93 KB
MIME-type: text/x-php
Charset: utf-8
<?php get_header(); ?>
<?php do_action( 'pisces/action/before_render_main' ); ?>
<div id="main" class="site-main">
<div class="container">
<div class="row">
<main id="site-content" class="<?php echo esc_attr(Pisces()->layout->get_main_content_css_class('col-xs-12 site-content'))?>">
<div class="site-content-inner">
<?php
do_action( 'pisces/action/before_render_main_inner' );
?>
<div id="blog_content_container" class="main--loop-container">
<?php
do_action( 'pisces/action/before_render_main_content' );
if(have_posts()){
echo '<div class="la-loop showposts-loop search-main-loop blog-pagination-type-pagination blog-grid_1 grid-items">';
while(have_posts()){
the_post();
get_template_part('content', 'search');
}
echo '</div>';
}
else{
get_template_part('content','none');
}
/**
* Display pagination and reset loop
*/
pisces_the_pagination();
wp_reset_postdata();
?>
<?php
do_action( 'pisces/action/after_render_main_content' );
?>
</div>
<?php
do_action( 'pisces/action/after_render_main_inner' );
?>
</div>
</main>
<?php get_sidebar();?>
</div>
</div>
</div>
<?php do_action( 'pisces/action/after_render_main' ); ?>
<?php get_footer();?>