forked from dimpurr/Clearision
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.php
More file actions
34 lines (32 loc) · 1.82 KB
/
Copy pathcontent.php
File metadata and controls
34 lines (32 loc) · 1.82 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
<hgroup class="post_hctn">
<a href="<?php echo get_the_author_meta('user_url'); ?>"><?php echo get_avatar( get_the_author_meta('ID'), 44 ); ?></a>
<h2 class="post_auth"><a href="<?php echo get_the_author_meta('user_url'); ?>">@<?php the_author(); ?></a><cite class="post_time_s"><?php echo human_time_diff(get_the_time('U'), current_time('timestamp')) . __('前','clrs'); ?></cite></h2>
<div class="post_time" title="<?php the_time('y/m/j - H:i') ?>">
<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(); ?>" title="<?php the_title(); the_time('y/m/j - H:i') ?>"><?php the_title(); ?></a></h2>
<div class="post_tag">
<?php $adis = get_option('clrs_adis'); if ($adis == "yes") { $c_adis = ""; } else { $c_adis = 'style="display:none;"'; }; ?>
<span class="post_c" <?php echo $c_adis; ?> ><a class="wp-postviews"><?php the_author(); echo " " . __('出品','clrs'); ?></a></span>
<?php the_tags('',' ',''); ?>
<span class="post_c"><a href="<?php comments_link(); ?>" ><?php comments_number( __('木有吐槽','clrs') , __('落单的吐槽','clrs') , __('%发吐槽','clrs') ); ?></a></span>
<?php if ( function_exists('the_views') ) { ?>
<span class="post_c"><a class="wp-postviews"><?php the_views(); ?></a></span>
<?php }; ?>
<span class="post_c"><?php echo 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 }; ?>
<h2 class="post_h_quote"><?php the_title(); ?></h2>
</div>