Tagged: Accordion
I’ve been making an accordion style-2 as shortcode and I saw that it’s possible to rename the standard toggle ID’s by adding this code to functions.php:
add_theme_support(‘avia_template_builder_custom_tab_toogle_id’);
But how can I set the name of a toggle ID if I insert the accordion as shortcode (so not using the accordion element where you would be able to put the custom toggle ID)?
Mark
I just now found out that you don’t need to use shortcode in order to use the CSS class ‘accordion style-2’, but you can just fill it in in the CSS class field in the accordion element. D’oh! I was messing around with a lot of shortcode.
Topic can be closed :-)
Mark
One more thing…
How do you set the extra content in tab title if you use the accordion element and not the shortcode?
I mean the second line in the tab title of accordion style-2:
Mark
And I solved that as well:
put <span class=”extra-content”> text </span> in the title field after the main tab title text.
Topic can now really be closed.
Mark
Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)
Best regards,
Basilis