How to put [content] tabs inside [accordion]?


#1

I just started using shortcodes. It works fine individually and also when I put accordion inside content tabs. But when I tried to put content tabs inside accordion it did not work. Also how to put accordion inside accordion?

This is what I tried:

[details=Trial 1][tab] [content title=“Publications”] [accordion] [item title=“Articles under Review”] -----List articles here [/item] [item title=“Articles Published”] list here all [/item] [/accordion] [/content] [content title=“Conference and Book meetings”] List here [/content] [/tab][/details]

And it works fine! :smile:

Then I tried to add [content] inside [accordion] using the following two methods. Neither worked.:rage::anguished::tired_face:

Trial 2

[tab] [content title=“Publications”] [accordion] [item title=“Articles under Review”] List here [/item] [item title=“Articles Published”] [content title=“1990-2000”] Article 1 Article 2 Article 3 [/content] [content title=“2001-2010”] Article 1 Article 2 Article 3 [/content] [/item] [/accordion] [/content] [content title=“Conference and Book meetings”] List here [/content] [/tab]

Did not work! :anguished::frowning::tired_face::tired_face: One interesting thing to note here is that “Article 1 Article 2 Article 3” appears both under the nested “Articles Published” and both “1990-2000” + “2001-2010” tabs.

Trial 3

[tab] [content title=“Publications”] [accordion] [item title=“Articles under Review”] List here [/item] [item title=“Articles Published”] [tab] [content title=“1990-2000”] Article 1 Article 2 Article 3 [/content] [content title=“2001-2010”] Article 1 Article 2 Article 3 [/content] [/tab] [/item] [/accordion] [/content] [content title=“Conference and Book meetings”] List here [/content] [/tab]

It made no difference. Trial 2 and 3 resulted in the same output. Addition of [tab] inside did not make any difference whatsoever. :cry::no_mouth:

Then I tried to [accordion] inside [accordion]:

[details=Accordion inside Accordion Trial] [accordion] [item title=“Books published”] [accordion] [item title=“Book 1: Short Story”] Description of short story [/item] [item title=“Book 2: Long Story”] Description of long story [/item] [/accordion] [/item] [item title=“Journals published”] [accordion] [item title=“Journal 1”] Description here [/item] [item title=“Journal 2”] Description here [/item] [/accordion] [/item] [/accordion][/details]

Did not work.:dizzy_face:

Can any expert please help me. Really trying to work hard here to setup a blog/website for my dad. Anyway You guys are awesome btw introducing shortcodes to blogspot lovers. Before this things used to be very tricky and hard!


#2

I guess this problem can’t be solved yet huh…