试试这个
<div class="container">
<div class="inner_box">
<ul>
<?php while ( have_posts() ) : the_post(); ?>
<li>
<?php the_title(); ?>
<?php the_content(); //this is not in inner_box ?>
</li>
<?php endwhile; ?>
</ul>
</div>
</div>
试试这个
<div class="container">
<ul>
<?php while ( have_posts() ) : the_post(); ?>
<li>
<div class="inner_box">
<?php the_title(); ?>
<?php the_content(); //this is not in inner_box ?>
</div>
</li>
<?php endwhile; ?>
</ul>
</div>