Here’s what I did as a work around. I have to believe there is a more elegant way to do this, fewer db calls and such. I’ll have to research this in the future.
Layout of the Entry Post Type:
I took the field key from the first field in the Field Group and ran a prepare_field for each.
add_filter('acf/prepare_field/key=field_58f8d36119412', 'format_entry_header'); // Category One Header
When found, the prepare_field outputs a <div> with my Header Information. This in displayed before the Field and with a little CSS, looks good.
echo '<h3 class="entry-form-title">Maintenance Factors</h3>';
The drawback is that you can not have the fields in a tab or you will get the <div> at the bottom of the first tab AND where intended. Haven’t dug into this much more as I need a solution quickly.
Not sure I should mark this as solved?
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!
The ACF site is currently experiencing some issues.— Advanced Custom Fields (@wp_acf) September 29, 2022
We apologize for the inconvenience and we are working hard to get it back up and running as soon as possible.
© 2022 Advanced Custom Fields.