wordpress只输出标题而不输出正文

修改主题文件里关于日志循环的部分,将

  <?php while ( have_posts() ) : the_post(); ?>
      <?php get_template_part( ‘content’, get_post_format() );
  <?php endwhile; ?>

改为

<ol>
  <?php while ( have_posts() ) : the_post(); ?>
    <li>
      *&nbsp&nbsp
      <a href=”<?php the_permalink(); ?>”>
        <?php the_title(); ?>
      </a>
      &nbsp&nbsp
       <?php the_time(‘Y-m-d g:h A’); ?>
      &nbsp&nbsp
      <?php edit_post_link(); ?>
    </li>
    <br>
    <?php endwhile; ?>
</ol>

Author: bkdwei