Tabs are an input layout feature to aid in making post editing more user friendly and not something meant to be used on the front end of the site.
But it would be possible. The only way that I can think of to do this would be to get the fields in the field group and loop through the fields to find the tabs, display the labels and then display the fields until you get to the next tab.
I’m not sure this is a documented function, but I’ve used it when building plugins to extend ACF.
$fields = get_field_group($group_key);
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users