Using the swaptitle attribute like so:
[expand title="Fiction" rel="fiction" swaptitle="Is like non-non-fiction"]
[expandsub1 title="Star Wars" rel="submenu-highlander" swaptitle="Hyperspeed"]Target Content[/expandsub1]
[expandsub1 title="Star Trek" rel="submenu-highlander" swaptitle="Warpspeed"]Target Content[/expandsub1]
[/expand]
@twinpictures, thank you for your quick reply. Unfortunately, the swaptitle only shows when clicking the title, not when clicking the subtitles.
As the page I am working at is not published, I can only share a fragment of it below. Visually, it looks perfect, only the subtitle’s swaptitle does not show. Could you please look at it for me?
Het is niet zo […] te vergroten?
[expand title=”Toon meer” rel=”toon meer” swaptitle=”Toon minder”]
De onderstaande gedachten […] hebben verschaft.
[expandsub1 title=”Toon meer” rel=”submenu-highlander” swaptitle=”Toon minder”]
Investeerders […] duidelijk wordt.[/expandsub1]
[/expand]
@evaleap happy to help.
Can you verify that you have not accidently pasted any nasty formating by looking at your shortcode in the TEXT mode of the page editor? Sometimes when code is pasted while in the VISUAL mode, the editor can inject a bit of bloated formating.
We put togher a little demo on nested expand elements for you that shows how it should work.
Pro-Tip: When posting code here on the forum, be sure to wrap it with the code tags using the ‘code’ button.
Did that help get your issue resolved, or do you still require assistance?
Yes, it did. Thank you so much for your help.
excellent! Glad everything worked out.
If you are happy with the plugin or it’s support, consider leaving a review.
Marking issue as resolved.