Home › Forums › Front-end Issues › Toggle Show/Hide Tabs with Another Button? › Reply To: Toggle Show/Hide Tabs with Another Button?
Just some thoughts.
Create a button and attach a click event to it. In your code trigger the click even on the tab that you want to show using the field key of that tab, something like this.
$('a[data-key="field_590de29e84ef8"]').trigger('click');
`
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.