2018-05-26 18:59:29 +08: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())) { ?>
|
|
|
|
<div class="Extendfull">
|
|
|
|
<?php the_post_thumbnail('full'); ?>
|
|
|
|
<header class="entry-header">
|
|
|
|
<h1 class="entry-title"><?php the_title(); ?></h1>
|
2018-06-13 09:52:11 +08:00
|
|
|
<p class="entry-census"><?php echo poi_time_since(strtotime($post->post_date)); ?> <?php echo wp_statistics_pages('total','uri',get_the_ID()); ?> 次阅读</p>
|
2018-05-26 18:59:29 +08:00
|
|
|
<hr>
|
|
|
|
</header>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
<!-- .entry-header -->
|
|
|
|
<div class="entry-content">
|
|
|
|
<?php the_content(); ?>
|
|
|
|
<?php
|
|
|
|
wp_link_pages( array(
|
|
|
|
'before' => '<div class="page-links">' . __( 'Pages:', 'ondemand' ),
|
|
|
|
'after' => '</div>',
|
|
|
|
) );
|
|
|
|
?>
|
|
|
|
</div><!-- .entry-content -->
|
|
|
|
<?php the_reward(); ?>
|
|
|
|
<footer class="post-footer">
|
|
|
|
<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-## -->
|