You can have a different title when the slider is opened and closed using the title-opened
and/or title-closed
attribute.
This slider is now closedThis slider is now opened
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Syntax
You can use the title-opened
or title-closed
attribute to override the default title in the tag. Or use both attributes. Doesn't really matter.
The 3 sliders in below example all have the same result. So choose whatever syntax method suites you best.
Indentation in example code is just for clarity. You should not indent your tags and text.
{slider title="This slider is now closed" title-opened="This slider is now opened"} [TEXT] {/sliders}
{slider title="This slider is now opened" title-closed="This slider is now closed"} [TEXT] {/sliders}
{slider title="title-opened=This slider is now opened" title-closed="This slider is now closed"} [TEXT] {/sliders}