-
Notifications
You must be signed in to change notification settings - Fork 28
/
content.php
47 lines (40 loc) · 1.28 KB
/
content.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
42
43
44
45
46
47
<hgroup class="post_hctn">
<div class="post_time">
<div class="post_t_d"><?php the_time('m/j') ?></div>
<div class="post_t_u"><?php the_time('H:i') ?></div>
</div>
<div class="post_h_l">
<span class="post_ct"><?php the_category(' ') ?></span>
<h2 class="post_h"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div class="post_tag">
<?php if (get_option('clrs_adis')) : ?>
<span class="post_c">
<a href="#">
<?php
the_author();
echo " " . __('出品', 'clrs');
?>
</a>
</span>
<?php endif; ?>
<?php the_tags('', ' ', ''); ?>
<span class="post_c">
<a href="<?php comments_link(); ?>"><?php comments_number(__('木有吐槽', 'clrs'), __('落单的吐槽', 'clrs'), __('%发吐槽', 'clrs')); ?></a>
<?php if (function_exists('the_views')) : ?>
<a class="wp-postviews"><?php the_views(); ?></a>
<?php endif; ?>
<?= edit_post_link(__('调教文章', 'clrs')); ?>
</span>
</div>
</div>
</hgroup>
<div class="post_t">
<?php if (get_post_format() == 'quote') : ?>
<a href="<?php the_permalink(); ?>">
<?php the_content('Read More →'); ?>
</a>
<?php else : ?>
<?php the_content('Read More →'); ?>
<?php endif; ?>
<h2 class="post_h_quote"><?php the_title(); ?></h2>
</div>