This question will probably be marked off-topic because you’re asking about a plugin, Advanced Custom Fields, but here’s the answer anyway – you need to add the ‘post id’ to your call of the_field()
, so that it’s looking up the custom fields set in each of your custom post type’s posts. See https://www.advancedcustomfields.com/resources/how-to-get-values-from-another-post/
Related Posts:
- Call to a member function add_rewrite_tag() on null
- Conditionally loading JavaScript based on the Advanced Custom Fields in the post
- Meta Query “IN” doesn’t work with ACF checkbox filter
- Is there a reason why my wordpress PHP page isn’t loading into my PHP template
- Conditional statement for parent, child and grandchild pages
- Problem with ACF shortcode with Repeater Field in WordPress? [closed]
- How to Explode a Textarea Field and Echo each line separately, wrapped with HTML
- Change message given when deleting post from custom post type
- Advanced Custom Fields Image Field returning ID instead of URL [closed]
- Can an array be used as a meta_query value?
- How to add custom taxonomy slug in CPT permalink?
- ACF check if variable has http, if else return string
- Advanced Custom Fields: Post Object – Not returning data [closed]
- Importing hard coded custom field into acf field
- Strip characters, Including spaces, for tel: link
- How can I add multiple ‘tax_query’ arrays via a loop?
- ACF page while loop breaks footer while loop
- get_posts of Custom Post Type AND Custom Taxonomy
- ACF: how do I get the fields and its values of a specific group?
- Saving an array of dynamic repeater data as post_meta
- Output ACF repeater on frontend user’s profile page (created with Ultimate Member) [closed]
- Remove the first 5 characters of the_title and orderby that
- Unread Repeater field IMG alt not working
- Slick + PHP + ACF + JQuery slide reveal not working
- Displaying custom field according to date
- Advanced Custom Fields not displaying
- How to create an ACF shortcode with Repeater Field in WordPress? [duplicate]
- ACF put a comma after the last repeater field value [closed]
- Show ACF field with link to ultimate member profile/WordPress user profile below the post (single post layout)
- Form search query – displaying ACF “Post Object” field as results
- Create short URL with auto 301 redirect
- Can I set up a hover animation in CSS depending on a PHP conditional?
- Get ACF options field in PHP acting as CSS
- Conditional multidimensional arrays and array_map
- How can I count ACF sub_field with a certain value
- Query entries from custom post type in an ACF flexible content field
- Problem with adding custom CSS class to image in ACF Photo Gallery plugin [closed]
- Advanced Custom Fields [closed]
- ACF Unexpected T_CONSTANT_ENCAPSED_STRING [closed]
- Including Custom fields within the_content
- Get All In One SEO Pack to use custom field instead of Content
- WordPress: Displaying all the post tags from within a specific taxonomy’s term
- Update user repeater meta (ACF) with another user meta field value
- Foreach loop is unexpectedly outputting an extra empty a tag
- How to store checkbox data for individual users?
- Problems updating nested ACF field groups
- count & sum the value of custom field of the author post in dynamic posts
- Get main parent category for post (WordPress/Advanced Custom Fields)
- Grouping custom wordpress post types by acf value
- ACF Taxonomy field values not select in backend
- WordPress – display relationship between blog posts and custom posts
- If Statement is Ignored?
- Use WPQuery to match to specific repeater row in post
- Query on a repeater date (acf)
- Custom sorting in post columns by ACF Pro Select Field
- Load info from customposttype into template page
- ACF values to Script with auto refresh
- ACF – Can’t get custom post type by taxonomy
- Advance custom fields variable with if statement & Function
- ElseIf Statement with ACF Group field
- Advanced Custom Forms PHP formatting for do_shortcode
- Possible to edit custom date field and display?
- Place product field value as variable in php
- ACF Gallery field images donwload
- ACF – Get ID of relationship field in flexible content
- Get list of posts from attachment
- How to output values from a loop into a javascript array
- Pulling Products from an API
- ACF background-color per post in a WordPress loop
- Scheduling a post using publish date from a custom field. Resulting post is set as published in the future instead of scheduled
- CPT: execute code after load if parameter is set
- Ordering / grouping posts by datepicker ACF
- ACF Post Content Not Being Searched
- Position a repeated article blocks
- Display related post content and custom field content
- ACF + WP + Slick Slider Repeater Slide Group PHP not Displaying [closed]
- Group/list/sort custom post type posts by date in tabs from acf datepicker field
- ACF Images If/else
- Relationship between custom post type and page/single templates
- Page returning ID from array, how to return the correct values for post in acf wordpress
- Display a query with multiple post types and same relationship on a single page
- the_post_thumbnail unless video id is added
- Add comma between variables [closed]
- Order woo products, but first products must be with acf fields
- ACF | WooCommerce | Theme Development | How to include a /template-part/ that makes use of ACF’s on a custom WooCommerce homepage?
- Display all categories (with link) of custom post type – WordPress
- How to I add count of custom posts listed in a post as a prefix to its title
- Custom WordPress Function – Adding items from Foreach Loop into an array and Updating Field based on array of IDs (ACF + WooCommerce)
- How to initialise WP_Query on the basis of a specific meta_value and continue iterating rest?
- WordPress different custom tag being displayed in on tag list
- Can I associate a custom post type with another custom post type?
- Get category name of current post (CPT UI)
- Creating posts with php-script + csv
- How to sort custom sortable column by custom table value
- I want to show image from custom field image on my custom page template
- How to disable page create for custom post type, but allow a page with the post types slug to be created?
- How to use multiple custom post types to archive as front page?
- Limit a search box by CPT + taxonomies, in only one page
- Why do I get a 404 error on my custom post type archive pagination?
- ACF number less than comparison not working