有没有办法
<?php the_field("do_stuff")?>
要进入这样的多重循环中间: <?php query_posts(\'cat=4&posts_per_page=5\'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h1><?php the_title() ;?></h1>
<?php the_post_thumbnail(); ?>
<?php the_excerpt(); ?>
<?php endwhile; else: ?>
<p>Sorry, there are no posts to display</p>
<?php endif; ?>
<hr>
<?php rewind_posts(); ?>
<?php query_posts(\'cat=5&posts_per_page=5\'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h2><?php the_title() ;?></h2>
<?php the_excerpt(); ?>
<?php endwhile; else: ?>
<p>Sorry, there are no posts to display</p>
<?php endif; ?>
我试着把它放在rewind\\U帖子的上方和下方,但它没有出现?字段代码是“高级自定义字段”插件的一部分,我希望用户能够在两个帖子部分之间发布他们想要的内容。谢谢