HTML CODE
<div class="tabs main bottom-40">
<ul class="tabNavigation list-unstyled bottom-0 clearfix">
<li class="active"><a data-toggle="tab" href="#tab1">First Tab</a></li>
<li class=""><a data-toggle="tab" href="#tab2">Second Tab</a></li>
<li class=""><a data-toggle="tab" href="#tab3"><i class="icon-cloud"></i>Third Tab</a></li>
</ul>
<div id="tab1" class="tabs-container active">
<div class="tabs-content">
<p>Morbi in dui quis est pulvinar ullamcorper.</p>
</div>
</div>
<div id="tab2" class="tabs-container">
<div class="tabs-content">
<p>Morbi in dui quis est pulvinar ullamcorper.</p>
</div>
</div>
<div id="tab3" class="tabs-container">
<div class="tabs-content">
<p>Morbi in dui quis est pulvinar ullamcorper.</p>
</div>
</div>
</div>
I want short code like:
[tabs]
[tab_item title=”First Tab”]Morbi in dui quis est pulvinar ullamcorper.[/tab_item]
[tab_item title=”Second Tab”]Morbi in dui quis est pulvinar ullamcorper.[/tab_item]
[tab_item title=”Third Tab”]Morbi in dui quis est pulvinar ullamcorper.[/tab_item]
[/tabs]
Download the plugin from this link – https://wordpress.org/plugins/shortcodes-ultimate/
Try this code
This how you do.
// more docs and explanation here to do what you want. its a little tricky but possible.
To make tabs, you’re going to need CSS. Also, the code shown will work best with a with the id ‘tab1’
For example,
You can embed that directly into the webpage.
If you want to add the others, just copy/paste the div, change it’s id to tab2, copy/paste the inside of the style, rename the the thing at the top #tab2, and change left: to 10%.