You can use shortcodes within shortcodes in the Dottoro theme. So for example the following code snippet displays a three-column layout, a button in the first column, a post list in the second one and a slideshow in the third one:
[row]
[col3]
[button href="#" skin="sand" size="medium"]
[icon icon="users" /]Users
[/button]
[/col3]
[col3]
[post_list
datas_to_show="title, preview, read_more"
posts_per_page="6"
col_num="1"
/]
[/col3]
[col3]
[slideshow name='Home' /]
[/col3]
[/row]
Sometimes the need arises to use the same shortcode within itself. For example when you want to use tabs in tabs, or toggles in toggles, or a two-column layout within a two-column layout. Unfortunately WordPress doesn't allow that, so for example the followings are invalid:
[foo]
[foo]
[/foo]
[/foo]
[row]
[col2]
content ...
[row]
[col2]
content ...
[/col2]
[col2]
content ...
[/col2]
[/row]
content ...
[/col2]
[col2]
content ...
[/col2]
[/row]
Dottoro theme provides a solution to this issue. Just add a plus sign to the beginning of the shortcode's name at each nested level and your are done:
[foo]
[+foo]
[++foo]
[/++foo]
[/+foo]
[/foo]
[row]
[col2]
content ...
[+row]
[+col2]
content ...
[/+col2]
[+col2]
content ...
[/+col2]
[/+row]
content ...
[/col2]
[col2]
content ...
[/col2]
[/row]
Please note that the plus sign can only be used in the right context:
[+foo]
[/+foo]
[foo1]
[+foo2]
[/+foo2]
[/foo1]
[foo]
[++foo]
[/++foo]
[/foo]
[row]
[col2]
content ...
[+row]
[+col3]
content ...
[/+col3]
[+col3]
content ...
[/+col3]
[+col3]
content ...
[/+col3]
[/+row]
content ...
[/col2]
[col2]
content ...
[+row]
[col3]
content ...
[/col3]
[col3]
content ...
[/col3]
[col3]
content ...
[/col3]
[/+row]
content ...
[/col2]
[/row]