Translation 201911010020
This commit is contained in:
parent
e3361060ef
commit
75046c75cc
|
@ -1269,9 +1269,9 @@ function memory_archives_list() {
|
||||||
}
|
}
|
||||||
if ($mon != $mon_tmp) {
|
if ($mon != $mon_tmp) {
|
||||||
$mon = $mon_tmp;
|
$mon = $mon_tmp;
|
||||||
$output .= '<li class="al_li"><span class="al_mon">'.$mon. __("","sakura"). /*月*/' (<span id="post-num"></span>'.__(" articles","sakura") /*篇文章*/.')</span><ul class="al_post_list">'; //输出月份
|
$output .= '<li class="al_li"><span class="al_mon"><span style="color:#0bf;">'.get_the_time('M').'</span> (<span id="post-num"></span>'.__(" post(s)","sakura") /*篇文章*/.')</span><ul class="al_post_list">'; //输出月份
|
||||||
}
|
}
|
||||||
$output .= '<li>'.'<a href="'. get_permalink() .'"><span style="color:#0bf;">'.get_the_time('d'.__("","sakura")) /*日*/.'</span>'. get_the_title() .' <span>('.get_post_views(get_the_ID()).' <span class="fa fa-fire" aria-hidden="true"></span> / '. get_comments_number('0', '1', '%') .' <span class="fa fa-commenting" aria-hidden="true"></span>)</span></a></li>'; //输出文章日期和标题
|
$output .= '<li>'.'<a href="'. get_permalink() .'"><span style="color:#0bf;">'/*get_the_time('d'.__(" ","sakura")) 日*/.'</span>'. get_the_title() .' <span>('.get_post_views(get_the_ID()).' <span class="fa fa-fire" aria-hidden="true"></span> / '. get_comments_number('0', '1', '%') .' <span class="fa fa-commenting" aria-hidden="true"></span>)</span></a></li>'; //输出文章日期和标题
|
||||||
endwhile;
|
endwhile;
|
||||||
wp_reset_postdata();
|
wp_reset_postdata();
|
||||||
$output .= '</ul></li></ul> <!--<ul class="al_mon_list"><li><ul class="al_post_list" style="display: block;"><li>博客已经萌萌哒运行了<span id="monitorday"></span>天</li></ul></li></ul>--></div>';
|
$output .= '</ul></li></ul> <!--<ul class="al_mon_list"><li><ul class="al_post_list" style="display: block;"><li>博客已经萌萌哒运行了<span id="monitorday"></span>天</li></ul></li></ul>--></div>';
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="info-meta">
|
<div class="info-meta">
|
||||||
<div class="comnum">
|
<div class="comnum">
|
||||||
<span><i class="iconfont icon-mark"></i><?php comments_popup_link('NOTHING', '1 '.__("comment","sakura")/*条评论*/, '% '.__("comments","sakura")/*条评论*/); ?></span>
|
<span><i class="iconfont icon-mark"></i><?php comments_popup_link('NOTHING', '1 '.__("Comment","sakura")/*条评论*/, '% '.__("Comments","sakura")/*条评论*/); ?></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="views">
|
<div class="views">
|
||||||
<span><i class="iconfont icon-attention"></i><?php echo get_post_views(get_the_ID()).' '._n('Hit','Hits',get_post_views(get_the_ID()),'sakura')/*热度*/?></span>
|
<span><i class="iconfont icon-attention"></i><?php echo get_post_views(get_the_ID()).' '._n('Hit','Hits',get_post_views(get_the_ID()),'sakura')/*热度*/?></span>
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<footer class="entry-footer">
|
<footer class="entry-footer">
|
||||||
<div class="info-meta">
|
<div class="info-meta">
|
||||||
<div class="comnum">
|
<div class="comnum">
|
||||||
<span><i class="iconfont icon-mark"></i><?php comments_popup_link('NOTHING', '1 '.__("comment","sakura")/*条评论*/, '% '.__("comments","sakura")/*条评论*/); ?></span>
|
<span><i class="iconfont icon-mark"></i><?php comments_popup_link('NOTHING', '1 '.__("Comment","sakura")/*条评论*/, '% '.__("Comments","sakura")/*条评论*/); ?></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="views">
|
<div class="views">
|
||||||
<span><i class="iconfont icon-attention"></i><?php echo get_post_views(get_the_ID()).' '._n('Hit','Hits',get_post_views(get_the_ID()),'sakura')/*热度*/?></span>
|
<span><i class="iconfont icon-attention"></i><?php echo get_post_views(get_the_ID()).' '._n('Hit','Hits',get_post_views(get_the_ID()),'sakura')/*热度*/?></span>
|
||||||
|
|
|
@ -50,7 +50,7 @@ $the_cat = get_the_category();
|
||||||
<a href="<?php the_permalink(); ?>" class="post-title"><h3><?php the_title();?></h3></a>
|
<a href="<?php the_permalink(); ?>" class="post-title"><h3><?php the_title();?></h3></a>
|
||||||
<div class="post-meta">
|
<div class="post-meta">
|
||||||
<span><i class="iconfont icon-attention"></i><?php echo get_post_views(get_the_ID()).' '._n('Hit','Hits',get_post_views(get_the_ID()),'sakura')/*热度*/?></span>
|
<span><i class="iconfont icon-attention"></i><?php echo get_post_views(get_the_ID()).' '._n('Hit','Hits',get_post_views(get_the_ID()),'sakura')/*热度*/?></span>
|
||||||
<span class="comments-number"><i class="iconfont icon-mark"></i><?php comments_popup_link('NOTHING', '1 '.__("comment","sakura")/*条评论*/, '% '.__("comments","sakura")/*条评论*/); ?></span>
|
<span class="comments-number"><i class="iconfont icon-mark"></i><?php comments_popup_link('NOTHING', '1 '.__("Comment","sakura")/*条评论*/, '% '.__("Comments","sakura")/*条评论*/); ?></span>
|
||||||
<span><i class="iconfont icon-file"></i><a href="<?php echo esc_url(get_category_link($the_cat[0]->cat_ID)); ?>"><?php echo $the_cat[0]->cat_name; ?></a>
|
<span><i class="iconfont icon-file"></i><a href="<?php echo esc_url(get_category_link($the_cat[0]->cat_ID)); ?>"><?php echo $the_cat[0]->cat_name; ?></a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue