2018-05-26 10:59:29 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Template part for displaying posts.
|
|
|
|
*
|
|
|
|
* @link https://codex.wordpress.org/Template_Hierarchy
|
|
|
|
*
|
|
|
|
* @package Akina
|
|
|
|
*/
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
|
|
<?php if(akina_option('patternimg') || !get_post_thumbnail_id(get_the_ID())) { ?>
|
|
|
|
<header class="entry-header">
|
|
|
|
<h1 class="entry-title"><?php the_title(); ?></h1>
|
2019-11-01 13:06:51 +00:00
|
|
|
<p class="entry-census"><?php echo poi_time_since(strtotime($post->post_date_gmt)); ?> <?php echo get_post_views(get_the_ID()).' '. _n('View','Views',get_post_views(get_the_ID()),'sakura')/*次阅读*/?> </p>
|
2018-05-26 10:59:29 +00:00
|
|
|
<hr>
|
|
|
|
</header><!-- .entry-header -->
|
|
|
|
<?php } ?>
|
|
|
|
<!--<div class="toc-entry-content"><!-- 套嵌目录使用(主要为了支援评论)-->
|
|
|
|
<div class="entry-content">
|
|
|
|
<?php the_content(); ?>
|
|
|
|
<?php
|
|
|
|
wp_link_pages( array(
|
|
|
|
'before' => '<div class="page-links">' . __( 'Pages:', 'ondemand' ),
|
|
|
|
'after' => '</div>',
|
|
|
|
) );
|
|
|
|
?>
|
|
|
|
<!--<div class="oshimai"></div>-->
|
2019-01-25 06:27:11 +00:00
|
|
|
<!--<h2 style="opacity:0;max-height:0;margin:0">Comments</h2>--><!-- 评论跳转标记 -->
|
2018-05-26 10:59:29 +00:00
|
|
|
</div><!-- .entry-content -->
|
|
|
|
<?php the_reward(); ?>
|
|
|
|
<footer class="post-footer">
|
2019-10-31 09:25:24 +00:00
|
|
|
<div class="post-lincenses"><a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh" target="_blank" rel="nofollow"><i class="fa fa-creative-commons" aria-hidden="true"></i> <?php _e('Attribution-NonCommercial-ShareAlike 4.0 International','sakura'); /*知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议*/?></a></div>
|
2018-05-26 10:59:29 +00:00
|
|
|
<div class="post-tags">
|
|
|
|
<?php if ( has_tag() ) { echo '<i class="iconfont icon-tags"></i> '; the_tags('', ' ', ' ');}?>
|
|
|
|
</div>
|
|
|
|
<?php get_template_part('layouts/sharelike'); ?>
|
|
|
|
</footer><!-- .entry-footer -->
|
|
|
|
</article><!-- #post-## -->
|