Hi, I need to create a template and I would like to avoid using elementor or gutenberg for a component but only use bootstrap. I need to create a tab similar to the link below. I have contents that may or may not be present both as the title of the tab and as content, when the content and the title are missing the html must discover within the code.
At the moment I have only created Post Field Groups
hidden link
Hi,
Thank you for contacting us and I'd be happy to assist.
Yes, this is possible using the HTML structure of the Bootstrap tab (that you already have) and replacing the static text in it with the Toolset's shortcodes to make it dynamic:
https://toolset.com/documentation/customizing-sites-using-php/functions/
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/
To check whether a specific field has some value or not and then show/hide its tab and content HTML part, you can wrap it inside the conditional display statements, as explained here:
https://toolset.com/documentation/legacy-features/views-plugin/checking-fields-and-other-elements-for-emptynon-empty-values/
I hope this helps and please let me know if you need any further assistance with this.
regards,
Waqar
My issue is resolved now. Thank you!