27 lines
688 B
PHP
27 lines
688 B
PHP
<?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(); ?>
|