Truncates text of specified HTML elements by number of lines.
As of April 2026, Text Truncator is a WordPress text plugin with 10 active installations and a 5/5 rating from 2 reviews. It has been downloaded 1.6K+ times in total. Requires WordPress 3.3+ and PHP false+. Available on WordPress.org since 2015. Last updated 10 years ago — may have compatibility concerns. Top alternative: String locator.
Do you have too long text elements sticking out and breaking the web site layout?
If you have such a problem, fix their length by specifying the elements with CSS selectors.
Notes: you need a basic understanding of CSS (jQuery) selectors to use this plugin.
| WordPress | 3.3+ requiredTested up to 4.2.39 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.