I am seeking to use a Tabs block to hold taxonomy lists to give users alternate ways to navigate a custom post type.
My problem is I am forced to select one of the tabs as the ‘Initial Tab Open’. This takes a lot of unnecessary realestate on the page. Is anyone aware of any built-in filters that can be used to have all tabs closed by default?
Ideally I’d like the functionality to ‘toggle’ so that by clicking the open tab header, it will close the tab content and return to the original state of all tabs closed.
Does anyone have any recommended workarounds? I’m relatively handy with WordPress/PHP, and can muddle my way through Javascript/JQuery if I need to, but keen to avoid spending a few hours trying to solve this if there’s already an answer out there.
PS I also tried using the ‘FAQ’ block to handle this as an accordion, however the inability to add sub-blocks to the FAQ answers is a show-stopper here.
