Hi John,
Thanks for the response!
So does that mean NOT calling get_fields()
first and then calling multiple get_field()
would make more DB calls as it would not load the meta in to the cache? I just want to make sure I completely understand the differences.
Thanks!
Thanks James,
This got me most of the way there.
I removed the “#postbox-container-2” part of the selector and it worked for me.
What I ended up doing is making sure all of my field groups have tabs, and then making an empty field group called “options” with nothing but a tab in it of the same name and made that the first field group to be shown. Then I added this could to the end of your script:
$firstBox.find(“div”).first().remove();
What that does is it removed the “Options” tab but used that as a container for all of the other tabs while maintaining the “options” title.
Many thanks for the help!
Thanks for the reply. Unfortunately manually moving individual fields around doesn’t really solve the problem of adding the tabs to a single tab group.
To your knowledge, do you know what changed between acf 4 and acf 5 / pro that disallowed this functionality? We have a pressing enough need for this that I’ll probably continue looking regardless.