Sindbad~EG File Manager
<?php get_header(); ?>
<div class="container pt-5">
<div id="content" class="content_right">
<h3>Hasil pencarian untuk: <strong><?php echo htmlentities($s, ENT_QUOTES, 'UTF-8'); ?></strong> </h3>
<hr class="mb-3">
<script>
mixpanel.track('Search', {
"query": "<?php echo htmlentities($s, ENT_QUOTES, 'UTF-8'); ?>"
})
</script>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="posts">
<article>
<div class="row">
<div class="col-md-8 order-2 order-md-1">
<h4 class="mt-md-0 mt-4"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h4>
<p><?php the_excerpt(); ?></p>
<div class="row">
<div class="col-md-4 align-self-center">
<p><a class="selengkapnya" href="<?php the_permalink(); ?>"><strong>Lihat Selengkapnya</strong></a></p>
</div>
<div class="col-md-8 p-md-0 mb-2">
<span>Ditulis pada <strong><?php the_date('d M Y'); ?></strong> oleh <strong> <?php the_author_posts_link(); ?></strong></span>
</div>
<div class="col-md-12 ">
<?php the_tags(
'<ul class="tags-list"><li>',
'</li><li>',
'</li></ul>');
?>
</div>
</div>
</div>
<div class="col-md-4 order-1 order-md-2 mt-3 mt-md-0">
<div class="searchPost">
<?php if(has_post_thumbnail()) : ?>
<?php the_post_thumbnail(); ?>
<?php else : ?>
<img src="<?php echo get_template_directory_uri(); ?>/assets/img/bg-contoh.jpg" alt="Ilustrasi AturToko +">
<?php endif ?>
</div>
</div>
</div>
</article><!-- #post -->
</div>
<hr>
<?php endwhile; ?>
<?php endif; ?>
<?php wpbeginner_numeric_posts_nav(); ?>
</div><!-- content -->
</div><!-- contentarea -->
<?php get_footer(); ?>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists