Files
wp-blog/wp-content/themes/forget/page/page-mb2.php
T
2018-05-08 11:22:54 +08:00

26 lines
652 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; ?>
</div>
</div>
<?php get_footer(); ?>