2014-06-15 11:05:23 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2016-09-27 06:15:28 +00:00
|
|
|
* Template part for displaying results in search pages
|
2014-06-15 11:05:23 +00:00
|
|
|
*
|
2015-07-01 15:21:44 +00:00
|
|
|
* @link https://codex.wordpress.org/Template_Hierarchy
|
2014-06-15 11:05:23 +00:00
|
|
|
*
|
|
|
|
* @package _s
|
|
|
|
*/
|
2015-05-27 17:49:01 +00:00
|
|
|
|
2014-06-15 11:05:23 +00:00
|
|
|
?>
|
|
|
|
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
|
|
<header class="entry-header">
|
2015-06-28 19:06:02 +00:00
|
|
|
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
|
2014-06-15 11:05:23 +00:00
|
|
|
|
2015-08-07 16:59:26 +00:00
|
|
|
<?php if ( 'post' === get_post_type() ) : ?>
|
2014-06-15 11:05:23 +00:00
|
|
|
<div class="entry-meta">
|
2017-10-29 15:31:22 +00:00
|
|
|
<?php
|
2017-10-29 21:30:50 +00:00
|
|
|
_s_posted_on();
|
|
|
|
_s_posted_by();
|
2017-10-29 15:31:22 +00:00
|
|
|
?>
|
2014-06-15 11:05:23 +00:00
|
|
|
</div><!-- .entry-meta -->
|
|
|
|
<?php endif; ?>
|
|
|
|
</header><!-- .entry-header -->
|
|
|
|
|
|
|
|
<div class="entry-summary">
|
|
|
|
<?php the_excerpt(); ?>
|
|
|
|
</div><!-- .entry-summary -->
|
|
|
|
|
|
|
|
<footer class="entry-footer">
|
2014-09-04 11:28:24 +00:00
|
|
|
<?php _s_entry_footer(); ?>
|
2014-06-15 11:05:23 +00:00
|
|
|
</footer><!-- .entry-footer -->
|
2017-05-10 08:41:46 +00:00
|
|
|
</article><!-- #post-<?php the_ID(); ?> -->
|