对于所有意图和目的,您只需要一个循环。虽然s\\u ha\\u dum的评论是正确的,但很可能是因为您提出了这个问题,所以不需要多个循环。
<? get_header(); ?>
    <? if(have_posts()): while(have_posts()): the_post(); ?>
        <!--Your content here, like so-->
        <div id="content">
            <? the_field(\'body_content\'); ?>
            <? the_field(\'footer_content\'); ?>
        </div>
    <? endwhile; endif; ?>
<? get_footer(); ?>
 这将满足你的需要。当然,您只需删除我的循环内容并将自己的内容放在适当的位置即可。只是举个例子。