forked from nehalist/gitsta
-
Notifications
You must be signed in to change notification settings - Fork 2
/
content-single.php
32 lines (29 loc) · 1.02 KB
/
content-single.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
<div id="post-<?php the_ID(); ?>" <?php post_class('item'); ?>>
<div name="meta">
<p class="text-muted">
<i class="fa fa-calendar"></i> <?php echo the_date(); ?>
<i class="fa fa-user" style="margin-left: 20px;"></i> <?php echo get_the_author(', '); ?><br>
<i class="fa fa-folder-open" style="margin-left: 20px;"></i>
<?php
echo get_the_category_list(', ');
?>
<?php
echo get_the_tag_list('<i class="fa fa-tags" style="margin-left: 20px;"></i> ',', ');
?>
<span class="pull-right">
<?php edit_post_link('<i class="fa fa-edit"></i> ' . __('Edit', 'gitsta')); ?>
</span>
</p>
</div>
<div class="post-content">
<?php
if(has_post_thumbnail()) {
the_post_thumbnail();
}
the_content();
?>
</div>
<span class="pull-right">
<?php edit_post_link('<i class="fa fa-edit"></i> ' . __('Edit', 'gitsta')); ?>
</span>
</div>