A very simple shortcode series to create a text area which can be hidden or displayed based on a click on the title. Text areas by default are hidden.
As of April 2026, Text Toggle is a WordPress text plugin with 20 active installations and a 0/5 rating0. It has been downloaded 3.0K+ times in total. Requires WordPress 2.9.2+ and PHP false+. Available on WordPress.org since 2015. Last updated 10 years ago — may have compatibility concerns. Top alternative: String locator.
A very simple shortcode series to create a text area which can be hidden or displayed based on a click on the title. Text areas by default are hidden.
This shortcode series uses jQuery functionality to a) determine which text areas are to be toggled and b) toggle them.
Basic use is to surround a block of text with the “[tt]” shortcode and specify a title parameter within the shortcode. The title will be shown on the page, preceeded by an indicator whether the associated text area is hidden (►) or shown (▼). Clicking the title link will toggle the display of the dependant text area, as well as toggle the indicator.
Groups of text areas can be shown or hidden at once through the “[tt_part]” and “[tt_all]” shortcodes.
The “[tt_part]” shortc…
| WordPress | 2.9.2+ requiredTested up to 4.3.34 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.