-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.php
More file actions
51 lines (26 loc) · 1.15 KB
/
content.php
File metadata and controls
51 lines (26 loc) · 1.15 KB
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
42
43
44
45
46
47
48
49
50
51
<div class="post-container">
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( has_post_thumbnail() ) : ?>
<div class="featured-media">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
<?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 $title_var = get_the_title(); ?>
<?php if ( !empty( $title_var ) ) : ?>
<div class="post-header">
<h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
</div> <!-- /post-header -->
<?php endif; ?>
<?php the_excerpt(); ?>
<?php garfunkel_meta(); ?>
</div> <!-- /post-inner -->
</div>
</div>