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:
- create custom post type and populate custom fields using php
- Get list of posts from attachment
- Javascript Tab Gallery with Advanced Custom Fields
- How to output values from a loop into a javascript array
- Pulling Products from an API
- PHP/CSS: Shortcode won’t display correctly, and only displays in the head (before content)
- ACF background-color per post in a WordPress loop
- How can I copy an ACF field to AIOSEO field? [closed]
- Scheduling a post using publish date from a custom field. Resulting post is set as published in the future instead of scheduled
- Make sticky post with FacetWP
- Generate a radius search of custom post type locations
- CPT: execute code after load if parameter is set
- WooCommerce Custom Tab with ACF Repeater Field
- Ordering / grouping posts by datepicker ACF
- PHP for loop not working as intended
- ACF Post Content Not Being Searched
- Position a repeated article blocks
- Display related post content and custom field content
- Is there a reason why my wordpress PHP page isn’t loading into my PHP template
- ACF + WP + Slick Slider Repeater Slide Group PHP not Displaying [closed]
- Display a single row from nested array of custom field data
- Group/list/sort custom post type posts by date in tabs from acf datepicker field
- Else if Statement for Advanced Custom Fields [closed]
- ACF Images If/else
- Can’t pick up a field created with Advanced Custom Fields
- Relationship between custom post type and page/single templates
- Custom post tag images not displaying with ACF
- Page returning ID from array, how to return the correct values for post in acf wordpress
- Get month and day from a Date Picker custom field
- Sort by multiple options in custom field
- If or/and statement advanced custom fields [closed]
- using ACF datepicker to filter posts on a page
- Display a query with multiple post types and same relationship on a single page
- Top menu disapears in Category Pages when filtering using ACF
- ACF loop and php formatting
- the_post_thumbnail unless video id is added
- get_category only returning details for ‘uncategorized’
- Custom Post-type not returning the right child_of
- Custom field within shortcode
- Displaying custom meta box value in a custom post page
- 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
- How to enable REST API on custom post type without Gutenberg?
- 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?
- How to make multiple custom taxonomies sit under custom post type slug?
- Limit a search box by CPT + taxonomies, in only one page
- WordPress taxonomy and terms question
- Load style and script for custom post type metabox
- Custom CPT – Programmatically create categories to assign CPT when a new one is created
- Why do I get a 404 error on my custom post type archive pagination?
- How do I exclude the current post from the upcoming post query
- Save_Post change Custom Post Type Post title to post id number
- Custom Filtering date with newsletter
- Ajax infinite scroll random order shows duplicate posts on custom post type
- ACF number less than comparison not working
- Advanced Custom Fields – How do I get field values of a group within a group field type
- “acf/load_field” Critical error upon saving/updating WooCommerce products [closed]
- How to get ACF field to show up on all posts on front end?
- Custom post type removing /page/2/ from URL when trying to access it
- Put ACF function output code the_terms
- Same Custom Post Type Slug and Custom Taxonomy Slug, with hierarchial unique permalink structure
- fetch from an external api call and display results in page
- WordPress CPT & Custom Taxonomy with the SAME Permalink Structure
- Cannot Access ACF Field Values via my Plugin
- Remove slug and custom post type name from URL
- Advanced Custom Fields Auto Populating Field Values For Nested Repeater FIelds
- Hot to show custom post type taxonomies on archive page
- Integrate a Custom Post Type with Learndash Plugin
- How to create advanced custom fields for backend content
- child category under correct parent
- Remove slug of multiple custom post types with and without hierarchical
- Quiz page template, checked attribute missing when option selected
- Redirect WordPress page to the latest created post by the logged in author/user
- Phone number custom field and woocommerce updating issue noticed
- How to capture number input from wordpress form into acf field in woocommerce
- add class to woocommerce single product template gallery thumbnails if media attachment ACF field toggled (true/false)
- Is it possible to go to the next post in the same category?
- Send summary email from a form with wp_mail
- Alter main query to always list posts according to ACF number field
- Add css class ID to largest and smallest number a custom field in wp_query
- Want to add custom post type for facebook feed
- Date not working correctly
- Custom Post Types in WordPress Dashboard List Rows But Data is Blank
- Options of select field in a custom divi module ignore sorting
- Add up all numbers from a WordPress query [closed]
- How to Customize the Admin Sidebar Menu in WordPress Multisite Network by changing the backend code of the wp-admin code files?
- WordPress per ACF – permalink is not working
- Why does my custom slug only show in Gutenberg editor after page refresh?
- How to get the post title inside a custom block in a loop? block.js
- How to Bulk Update CPT Taxonomy Values Using CSV Lookup Table
- Set custom post type to load custom block pattern by default
- Post returns 404 after changing the permalink using post_type_link
- Display posts in correct month order using single date custom field
- Cannot access the other pages after successfully editing post type