Home › Forums › ACF PRO › Combine Multiple Tabs / tab groups › Reply To: Combine Multiple Tabs / tab groups
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!
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.