代码拉取完成,页面将自动刷新
<?php get_header(); ?>
<div class="content-wrap">
<div class="content">
<?php while (have_posts()) : the_post(); ?>
<header class="article-header">
<h1 class="article-title"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
<div class="meta">
<?php if(0){ /*modify by me*/ ?>
<span class="muted"><i class="icon-user icon12"></i> <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ) ?>"><?php echo get_the_author() ?></a></span>
<?php } ?>
<time class="muted"><i class="ico icon-time icon12"></i> <?php the_time('Y-m-d');?></time>
<span class="muted"><i class="ico icon-eye-open icon12"></i> <?php deel_views('浏览'); ?></span>
<?php if ( comments_open() ) echo '<span class="muted"><i class="icon-comment icon12"></i> <a href="'.get_comments_link().'">'.get_comments_number().'评论</a></span>'; ?>
<?php //edit_post_link('[编辑]'); ?>
</div>
</header>
<article class="article-content">
<?php the_content(); ?>
</article>
<?php comments_template('', true); ?>
<?php endwhile; ?>
</div>
</div>
<?php get_sidebar(); get_footer(); ?>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。