For all intents and purposes, you only need one loop. While s_ha_dum’s comment is correct, odds are since you’re asking this question, you won’t have a need for multiple loops.
<? 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(); ?>
This will suffice your needs. Of course you would just remove my loop contents and put your own in place. Just giving an example.
Related Posts:
- Filtering a WP_Query meta_query by numeric values isn’t working
- Automatically fill custom field value on post publish/update
- Filter a custom field based on selection of another custom field (ACF) [closed]
- ACF Relationships in Custom Post Type Permalink
- How to sort a table of custom posts by column containing custom field
- WordPress Search documentation: how to improve search query using taxonomy terms, custom meta fields?
- How to solve suspected memory issue in custom WordPress loop?
- List events by month
- Use Custom Post Type as Custom Field
- WP_Query on custom post type not displaying, multiple loops & get_template_part
- Get_post_meta() won’t return value
- Display posts if a custom field value is equal to another custom field value
- ACF Upload Image in repeater from front-end with custom form? – add_post_meta()
- Get Custom Field Values by Another Custom Field in WordPress
- Display custom post on home page based on a metabox selection
- How to Display ACF Relationship Custom Field as Link to Specific Custom Post?
- wp_query to find posts by year and month
- Create a random unique 6 digit number as custom field for custom post type
- Remove duplicated values from a loop
- How to insert content from another Custom Post type into Post?
- Custom Post type and Custom Field WP_Query
- How to change post featured image using a custom field of category?
- WP_Query orderby modified to include custom meta changes
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- Meta Key Value in current-user-only loop
- Retrieve value of a category’s custom field
- Calculate all custom field values in the post loop
- How can I dynamically add a post to a custom post type which uses a custom field?
- Bulk Update Custom Fields for Custom Post Types
- WP_Query order by custom field, then randomly order some of results
- Query custom post type with ACF Date
- ACF From & To Date Validations
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- How to render a custom post type template with custom fields using shortcode
- Order Custom Post Type by Custom Field Value
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- Integrate Custom Post Type Events into Calendar
- WebP Fallback for Inline Background Image in Style Attribute
- Query based on custom fields start and end date
- How to get a custom type post data when it has a connection with another custom type post?
- Custom post type showing same Post on all Pages
- List of users that clicked a ‘Join’ button at single post
- Post loop count is not in order
- How to inherit field value from parent post into in child / sub post
- hide specific div on single.php [closed]
- Having Issue on Ordering CPT by Custom Field In Custom WP Query
- Custome fields not displayed
- How do you output an unknown number of images in a custom post type with desired markup?
- Get data from PHP to JavaScript to set position of each post on front page
- posttype and custom fields on multisite
- How do I get_the_postID() for a custom post that uses ACF repeater field?
- How do I replace the post title with a custom field?
- Sum and count of custom field values
- Custom post types, disable fields
- Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]
- Custom Sidebar in Editor (not Widget) for Custom Post Type in Genesis
- Displaying information from custom field on custom post type
- How do I list a custom field and custom taxonomies for each result in a loop?
- ACF – Retrieve custom taxonomy from a relationship field
- Create if else for post types in WP_Query ‘post__in’ values
- when looping through custom post data not appearing
- How to avoid duplicate posts queried from custom meta?
- Show custom post type event if current day using ACF
- Display Custom Field or Custom Taxonomy in front page /post/product
- How to access repeater field of a custom field?
- Filter posts by their related field’s custom field
- Some posts not displaying by taxonomy term
- Custom meta fields not showing up in WP_Response Object via custom endpoint
- ACF meta_key and meta_value break loop
- filter using custom fields
- Wrapping an unknown amount of posts inside separate HTML Containers during WP_Query loop
- Adding a Section for Visitors
- Autofill advanced custom field with user data
- Advanced search form with multiple custom fields
- sorting in wp query based on custom field value
- Sort loop by custom field from different post type
- Display related post content and custom field content
- Fixed custom fields depending on posttype/category
- WordPress query in which condition uses custom field
- WordPress loop add heading before first of type
- How to make a shortcode for my WP_Query Loop? [duplicate]
- Error in WP Query. If variable is empty it is displaying previous post value
- WordPress loop, show only one post per custom field
- Can’t pick up a field created with Advanced Custom Fields
- $post breaking container loop
- Setting a custom $query->query_vars[‘meta_key’] breaks the WordPress menu
- Order by custom field attribute
- Get result from Custom Field in Custom Post type
- How to show animal lineage/pedigree in WordPress?
- Custom Post Type Loop breaking php
- Styling first post using Advanced Custom Fields
- How do I filter a custom post type loop by a field?
- ACF – Query relationship without ID
- Retrieve a post with its ACF repeater fields in wordpress
- Is it possible to specify a time interval (from, to) in ACF with date picker, or other custom field?
- Filter page ID outside the loop and order
- Display ACF object field data using Elementor Custom Query
- Post object GUID adding http:/
- Custom Sort Order for Custom Post Type Taxonomy
- WordPress post objects in one parent post object