This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

LTW Content Shortcodes


LTW Content Shortcodes is a lightweight plugin that contains some useful shortcodes to enrich your content quick and easy.

Plugin contains 4 shortcodes which are tabs, columns, buttons and toggle.

Here are a few examples.

[tabs title=”Tab Example” float=”left” width=”500px” margin=”0 20px 20px 0″]
[tab title=”Tab 1″]Tab 1 Content[/tab]
[tab title=”Tab 2″ active=”true”]Tab 2 Content[/tab]
[tab title=”Tab 3″]Tab 3 Content[/tab]

[column position=”first” size=”1/2″]Column 1[/column]
[column position=”last” size=”1/2″]Column 2[/column]

[column position=”first” size=”1/4″]Column 1[/column]
[column position=”last” size=”3/4″]Column 2[/column]

[button href=”” value=”Button” color=”black” rel=”nofollow” target=”_blank” onclick=”alert(‘Button Was Clicked!’);” class=”custom_class” id=”btn_id”]

[toggle title=”Toggle Example” float=”left” width=”500px” margin=”0 20px 20px 0″ status=”open”]Toggle content[/toggle]

For full list of options and what they do, please visit the plugin website.


  • Shortcode example


  1. Upload ltw-content-shortcodes folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


Can I have multiple tab containers on one page?

Short and sweet: Yes.

Can the currently active tab be opened by default just by sharing a URL link?

Yes. Tabs will check if there is an id of the tag in the URL (added automatically when a tab is clicked) and will set that tab as active on page load even if you set a different tab as active in shortcode.

Can a button include Javascript on click?

Yes. Include this shortcode attribute: onclick=”alert(‘Button Was Clicked!’);”

Can the toggle be open by default?

Yes. Set the shortcode attribute status=”open”.

Contributors & Developers

“LTW Content Shortcodes” is open source software. The following people have contributed to this plugin.




  • Modifed JavaScript to make the click on the tab affect the tab elements only.


  • New Feature – Using shortcodes inside tabs, columns and toggle is now possible.


  • Removed ( ) from “open” and “close” links.


  • First release