Title: Text Snipper
Author: jordanwebdev
Published: <strong>2016 年 12 月 11 日</strong>
Last modified: 2016 年 12 月 18 日

---

搜尋外掛

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

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Text Snipper

 由 [jordanwebdev](https://profiles.wordpress.org/jordanwebdev/) 開發

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

 * [詳細資料](https://tw.wordpress.org/plugins/text-snipper/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/text-snipper/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/text-snipper/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/text-snipper/#developers)

 [技術支援](https://wordpress.org/support/plugin/text-snipper/)

## 外掛說明

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
    ```

## 安裝方式

 1. Download from plugins repository
 2. Activate plugin

## 常見問題集

 * 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!

## 使用者評論

![](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/) 2017 年 3 月 16 日

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

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/text-snipper/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Text Snipper〉的開發相關工作。

參與者

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

[將〈Text Snipper〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/text-snipper)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/text-snipper/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/text-snipper/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/text-snipper/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/text-snipper/)。

## 變更記錄

1.0 – 18/Dec/2016

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

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **9 年前**
 *  啟用安裝數 **50+**
 *  已測試相容的 WordPress 版本 **4.7.33**
 *  語言
 * [English (US)](https://wordpress.org/plugins/text-snipper/)
 * 標籤:
 * [ellipsis](https://tw.wordpress.org/plugins/tags/ellipsis/)[snip](https://tw.wordpress.org/plugins/tags/snip/)
   [text](https://tw.wordpress.org/plugins/tags/text/)
 *  [進階檢視](https://tw.wordpress.org/plugins/text-snipper/advanced/)

## 評分

 3 星，滿分為 5 星

 *  [  0 個 5 星使用者評論     ](https://wordpress.org/support/plugin/text-snipper/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/text-snipper/reviews/?filter=4)
 *  [  1 個 3 星使用者評論     ](https://wordpress.org/support/plugin/text-snipper/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/text-snipper/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/text-snipper/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/text-snipper/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/text-snipper/)