-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-search.php
41 lines (38 loc) · 1.35 KB
/
content-search.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* The template used for displaying content search.php
* @package Makeup Lite
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
if (has_post_thumbnail() ){
echo '<div class="blogthumbimg">';
the_post_thumbnail();
echo '</div>';
}
?>
<header class="entry-header">
<?php the_title( '<h3 class="single-title">', '</h3>' ); ?>
</header><!-- .entry-header -->
<div class="postmeta">
<div class="post-date"><?php echo esc_html( get_the_date() ); ?></div><!-- post-date -->
<div class="post-comment"> <a href="<?php comments_link(); ?>"><?php comments_number(); ?></a></div>
</div><!-- postmeta -->
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'makeup-lite' ),
'after' => '</div>',
) );
?>
<div class="postmeta">
<div class="post-tags"><?php the_tags(); ?> </div>
<div class="clear"></div>
</div><!-- postmeta -->
</div><!-- .entry-content -->
<footer class="entry-meta">
<?php edit_post_link( __( 'Edit', 'makeup-lite' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta -->
</article>