init blog

This commit is contained in:
dengtongyu committed 2018-05-08 11:22:54 +08:00
1 parent 5acc46db8e
commit 843783ce9a
1820 files changed
+539344

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
<?php
/*
* Template Name: 无侧边栏模版
*/
get_header();
?>
<div class="mainContent">
<div class="blogitem" style="margin-left: 0;float: none;">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="content">
<article <?php post_class(); ?> style="margin-left: 0px;" id="post-<?php the_ID(); ?>">
<h2 class="title"><a class="slow" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a><span class="edit"><?php edit_post_link();?></span></h2>
<ul class="text">
<?php the_content(); ?>
</ul>
</article>
</div>
<?php endwhile; else: ?>
<?php endif; ?>
<?php comments_template('', true); ?>
</div>
</div>
<?php get_footer(); ?>