Current Path : /storage/v11800/testtest/public_html/wp-content/themes/shoptimizer/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/testtest/public_html/wp-content/themes/shoptimizer/content-search.php |
<?php
/**
* Template used to display standard search results.
*
* @package shoptimizer
*/
?>
<?php
while ( have_posts() ) :
the_post();
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( get_post_type() === 'product' ) { ?>
<a href="<?php the_permalink(); ?>" rel="bookmark" class="image-result">
<?php the_post_thumbnail(); ?>
</a>
<?php }
?>
<div class="search-results-content">
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<?php the_excerpt(); ?>
</div>
</article><!-- #post-## -->
<?php endwhile; ?>