-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent-home.php
34 lines (31 loc) · 1.07 KB
/
content-home.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
<?php
/**
* The home template for displaying content
*
* @package WordPress
* @subpackage BirdFILED
* @since BirdFILED 1.09
*/
?>
<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'birdfield' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark">
<?php if( has_post_thumbnail() ): ?>
<div class="entry-eyecatch">
<?php the_post_thumbnail( 'large' ); ?>
</div>
<?php endif; ?>
<header class="entry-header">
<h3 class="entry-title"><?php the_title(); ?></h3>
</header>
<footer class="entry-meta">
<time class="postdate" datetime="<?php echo get_the_time( 'Y-m-d' ) ?>"><?php echo get_post_time( get_option( 'date_format' ) ); ?> </time>
<span class="icon author"><?php the_author(); ?></span>
<?php if ( comments_open() ) : ?>
<span class="icon comment"><?php comments_number( '0', '1', '%' ); ?></span>
<?php endif; ?>
</footer>
</a>
<?php if(is_sticky()): ?>
<i><span></span></i>
<?php endif; ?>
</li>