Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 73026

Nested levels must be one issue

$
0
0

Replies: 0

Hi there,
This is an awesome plugin. I’m just trying to figure out how to get nested expand elements to collapse same level siblings when clicked on. I’m using the must-be-one trigclass, which works fine on the top level expand elements but not on the second level.

Here is my shortcode:
[expand title=”A” id=”q1″ rel=”a” trigclass=”must-be-one” expanded=”true”]
[expandsub1 title=”Nested Level a1″ id=”a1″ rel=”a” trigclass=”must-be-one” findme=”200″]answer a1[/expandsub1]
[expandsub2 title=”Nested Level a2″ id=”a2″ rel=”a” trigclass=”must-be-one” findme=”200″]answer a2 [/expandsub2]
[expandsub3 title=”Nested Level a3″ id=”a3″ rel=”a” trigclass=”must-be-one” findme=”200″]answer a3[/expandsub3]
[expandsub4 title=”Nested Level a4″ id=”a4″ rel=”a” trigclass=”must-be-one” findme=”200″]answer a4[/expandsub4]
[/expand]
[expand title=”B” id=”q2″ rel=”b” trigclass=”must-be-one”]
[expandsub1 title=”Nested Level b1″ id=”b1″ rel=”b” trigclass=”must-be-one” findme=”200″]answer b1[/expandsub1]
[expandsub2 title=”Nested Level b2″ id=”b2″ rel=”b” trigclass=”must-be-one” findme=”200″]answer b2[/expandsub2]
[expandsub3 title=”Nested Level b3″ id=”b3″ rel=”b” trigclass=”must-be-one” findme=”200″]answer b3[/expandsub3]
[expandsub4 title=”Nested Level b4″ id=”b4″ rel=”b” trigclass=”must-be-one” findme=”200″]answer b4[/expandsub4]
[/expand]

It might be just a simple thing. i’m using the Avada theme.

Look forward to hear from you.

Cheers,
Isti


Viewing all articles
Browse latest Browse all 73026

Trending Articles