I want to create a multiple shortcodes something likes this.
[tabs]
[tab title="1"]
//content goes here
[/tab]
[tab title="2"]
//content2 goes here
[/tab]
[tab title="3"]
//content4 goes here
[/tab]
[/tabs]
expected output :
<ul>
<li id="tab1">[tab title="1" goes here]</li>
<li id="tab2">[tab title="2" goes here]</li>
<li id="tab3">[tab title="3" goes here]</li>
</ul>
<ul id="tab1">
<li>Content1</li>
</ul>
<ul id="tab2">
<li>Content2</li>
</ul>
<ul id="tab3">
<li>Content3</li>
</ul>
How to do that in WordPress?