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:
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!
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!