-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent-image.php
More file actions
39 lines (21 loc) · 818 Bytes
/
content-image.php
File metadata and controls
39 lines (21 loc) · 818 Bytes
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
<div class="post-container">
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( has_post_thumbnail() ) : ?>
<div class="featured-media">
<?php if( is_sticky() ) { ?> <span class="sticky-post"><?php _e('Sticky post', 'garfunkel'); ?></span> <?php } ?>
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
<?php the_post_thumbnail('post-thumbnail'); ?>
</a>
</div> <!-- /featured-media -->
<?php endif; ?>
<?php if ( is_sticky() ) : ?>
<div class="is-sticky">
<div class="genericon genericon-pinned"></div>
</div>
<?php endif; ?>
<div class="post-inner">
<?php the_excerpt(); ?>
<?php garfunkel_meta(); ?>
</div> <!-- /post-inner -->
</div>
</div>