Title: Text Snipper
Author: jordanwebdev
Published: <strong>December 11, 2016</strong>
Last modified: December 18, 2016

---

Search plugins

![](https://ps.w.org/text-snipper/assets/banner-772x250.jpg?rev=1557108)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/text-snipper/assets/icon-128x128.jpg?rev=1557108)

# Text Snipper

 By [jordanwebdev](https://profiles.wordpress.org/jordanwebdev/)

[Download](https://downloads.wordpress.org/plugin/text-snipper.1.0.zip)

 * [Details](https://sa.wordpress.org/plugins/text-snipper/#description)
 * [Reviews](https://sa.wordpress.org/plugins/text-snipper/#reviews)
 *  [Installation](https://sa.wordpress.org/plugins/text-snipper/#installation)
 * [Development](https://sa.wordpress.org/plugins/text-snipper/#developers)

 [Support](https://wordpress.org/support/plugin/text-snipper/)

## Description

This plugin allows you to specify in the settings page a CSS class, and then looks
for any elements that contain it and trims the text down so that it does not overflow
its container’s height. This is for vertical trimming of multi-line text, and also
works if the element has direct children.

#### HOW TO USE

Once you install and activate the plugin, there will be a new tab for it under the“
settings” admin menu. Go to this page, and enter the name of the CSS class you are
using in your HTML to specifiy which elements should be truncated. Click save, and
that’s it!

### License

    ```
    Copyright 2016 Jordan Carter

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    ```

## Installation

 1. Download from plugins repository
 2. Activate plugin

## FAQ

 * What if my HTML class has children?

Currently, the plugin handles direct children, as well as elements with no children.
Just provide the HTML class of the parent element, and the plugin will do the rest!

## Reviews

![](https://secure.gravatar.com/avatar/4cdfc3c94611f438a31a1d4a326799055eafb38a64dff1c8a9a6803d15c467ce?
s=60&d=retro&r=g)

### 󠀁[Good idea but… (cut)](https://wordpress.org/support/topic/good-idea-but-cut/)󠁿

 [janomix](https://profiles.wordpress.org/janomix/) March 16, 2017

Hi, good plugin, but need an option to setting how many lines or words or character
I wanna cut. Thanks.

 [ Read all 1 review ](https://wordpress.org/support/plugin/text-snipper/reviews/)

## Contributors & Developers

“Text Snipper” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ jordanwebdev ](https://profiles.wordpress.org/jordanwebdev/)

[Translate “Text Snipper” into your language.](https://translate.wordpress.org/projects/wp-plugins/text-snipper)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/text-snipper/), check
out the [SVN repository](https://plugins.svn.wordpress.org/text-snipper/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/text-snipper/) by
[RSS](https://plugins.trac.wordpress.org/log/text-snipper/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

1.0 – 18/Dec/2016

 * Fixed issues with handling direct children of the element with the specified 
   HTML class.

## Meta

 *  Version **1.0**
 *  Last updated **9 वर्षाः ago**
 *  Active installations **40+**
 *  Tested up to **4.7.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/text-snipper/)
 * Tags
 * [ellipsis](https://sa.wordpress.org/plugins/tags/ellipsis/)[snip](https://sa.wordpress.org/plugins/tags/snip/)
   [text](https://sa.wordpress.org/plugins/tags/text/)
 *  [Advanced View](https://sa.wordpress.org/plugins/text-snipper/advanced/)

## Ratings

 3 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/text-snipper/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/text-snipper/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/text-snipper/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/text-snipper/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/text-snipper/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/text-snipper/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/text-snipper/reviews/)

## Contributors

 *   [ jordanwebdev ](https://profiles.wordpress.org/jordanwebdev/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/text-snipper/)