1 Star 3 Fork 0

yeszao / D9

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
page.php 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
yeszao_e17d 提交于 2017-04-10 10:02 . first version
<?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(); ?>
PHP
1
https://gitee.com/yeszao/d9.git
git@gitee.com:yeszao/d9.git
yeszao
d9
D9
master

搜索帮助