Home › Forums › Backend Issues (wp-admin) › Edit Screen Missing Fields Groups › Reply To: Edit Screen Missing Fields Groups
For those who are curious, I created a private ticket and got a solution for this.
The reason is being, in the latest version of ACF, the field group location options only validate field groups which have been registered for that specific post type. By default are only set for pages and thus not evaluated for custom post types.
This meaning, in the actual template file, we need to ensure that the post type is set in the top of the file.
For example in my template-content-areas.php file i needed the following:
<?php
/*
Template Name: Content Areas Template
Template Post Type: post, page, custom_post_type
*/
?>
//rest of page markup here
I’m not sure if this will work for pages as previously stated, the field group location settings “By default are only set for pages”
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.