Title: Truncate Comments
Author: Flector
Published: <strong>2015 年 6 月 2 日</strong>
Last modified: 2025 年 5 月 19 日

---

搜索插件

![](https://ps.w.org/truncate-comments/assets/banner-772x250.png?rev=2035700)

![](https://ps.w.org/truncate-comments/assets/icon-256x256.png?rev=2035703)

# Truncate Comments

 作者：[Flector](https://profiles.wordpress.org/flector/)

[下载](https://downloads.wordpress.org/plugin/truncate-comments.zip)

 * [详情](https://cn.wordpress.org/plugins/truncate-comments/#description)
 * [评价](https://cn.wordpress.org/plugins/truncate-comments/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/truncate-comments/#developers)

 [支持](https://wordpress.org/support/plugin/truncate-comments/)

## 描述

Truncate Comments is a plugin that hides a part of a long comment under a “**Read
more**” link that, when clicked, reveals the hidden part of the comment. The plugin
provides the functionality of Amazon.com comments.

If you liked my plugin, please **rate** it.

The plugin uses [jQuery Collapser](http://www.aakashweb.com/jquery-plugins/collapser/)
by Aakash Chakravarthy.

## 屏幕截图

 * [[
 * The plugin settings page.
 * [[
 * Example of a hidden comment.

## 常见问题

### Installation Instructions

 1. Visit «**Plugins\Add New**».
 2. Search for «**Truncate Comments**».
 3. Install and activate the plugin.
 4. That’s all.

Plugin settings are available in «**Settings\Truncate Comments**».

### How to style a “Read more” link using CSS?

Add the following code to the **style.css** file of your theme.

    ```
    .commentMoreLink {
       color:red!important;
    }
    ```

The link will become red (just an example).

### Does the plugin support localization?

Yes, please use [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/truncate-comments).

## 评价

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

### 󠀁[Simple but powerful](https://wordpress.org/support/topic/simple-but-powerful-92/)󠁿

 [Soprano](https://profiles.wordpress.org/soprano/) 2025 年 4 月 30 日

It seems like a feature that would be part of wp core. This awesome plugin makes
it possible to avoid having walls of text in the comments sections of many blogs…

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

### 󠀁[Collapse back/Read less](https://wordpress.org/support/topic/collapse-back-read-less/)󠁿

 [wujanowski](https://profiles.wordpress.org/wujanowski/) 2018 年 12 月 13 日 2 
回复

Very useful plugin. What I miss is the possibility to collapse the opened comment
back after I have read it or decided not to read (link like “Collapse back” or “
Read less”). Or to collapse automatically after time the blog owner can define ´
Best WJ

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

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-3520/)󠁿

 [charismeki](https://profiles.wordpress.org/charismeki/) 2017 年 1 月 24 日

Super, just adjusted line-height via css to keep theme style! A “Read Less” to collapse
long comments would be also great. Thx, c–

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

### 󠀁[Simple & Effective](https://wordpress.org/support/topic/simple-effective-94/)󠁿

 [alexmarshall](https://profiles.wordpress.org/alexmarshall/) 2016 年 9 月 3 日

Really simple to set up and great for de-cluttering the comments section. Exactly
what I was looking for

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/truncate-comments/reviews/)

## 贡献者及开发者

「Truncate Comments」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

「Truncate Comments」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/truncate-comments/contributors)
为本插件所做的贡献。

[帮助将「Truncate Comments」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/truncate-comments)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/truncate-comments/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/truncate-comments/)，或通过[RSS](https://plugins.trac.wordpress.org/log/truncate-comments/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/truncate-comments/)。

## 更新日志

#### 2.00

 * minor bug fixes
 * added “Hide” button.

#### 1.04

 * minor bug fixes

#### 1.03

 * removed PHP notices.

#### 1.02

 * removed the bundled languages in favour of language packs from translate.wordpress.
   org.

#### 1.01

 * added German translation (thanks to [ezkay](https://wordpress.org/support/profile/ezkay)).

#### 1.00

 * first public version.

## 额外信息

 *  版本 **2.00**
 *  最后更新：**1 年前**
 *  活跃安装数量 **90+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 5.3 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/truncate-comments/) 、 [German](https://de.wordpress.org/plugins/truncate-comments/)
   和 [Russian](https://ru.wordpress.org/plugins/truncate-comments/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/truncate-comments)
 * 标签
 * [amazon](https://cn.wordpress.org/plugins/tags/amazon/)[collapse](https://cn.wordpress.org/plugins/tags/collapse/)
   [comment](https://cn.wordpress.org/plugins/tags/comment/)[comments](https://cn.wordpress.org/plugins/tags/comments/)
   [hide content](https://cn.wordpress.org/plugins/tags/hide-content/)
 *  [高级视图](https://cn.wordpress.org/plugins/truncate-comments/advanced/)

## 评级

 4.8 星（最高 5 星）。

 *  [  5 条 5 星评价     ](https://wordpress.org/support/plugin/truncate-comments/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/truncate-comments/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/truncate-comments/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/truncate-comments/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/truncate-comments/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/truncate-comments/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/truncate-comments/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.me/flector)