Title: @Reply \w comment preview
Author: marcu5
Published: <strong>2008 年 8 月 25 日</strong>
Last modified: 2008 年 9 月 28 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/reply-w-comment-preview.svg)

# @Reply \w comment preview

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

[下载](https://downloads.wordpress.org/plugin/reply-w-comment-preview.0.0.41.zip)

 * [详情](https://cn.wordpress.org/plugins/reply-w-comment-preview/#description)
 * [评价](https://cn.wordpress.org/plugins/reply-w-comment-preview/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/reply-w-comment-preview/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/reply-w-comment-preview/#developers)

 [支持](https://wordpress.org/support/plugin/reply-w-comment-preview/)

## 描述

This plugin allows you to add Twitter-like @reply links to comments, including a
preview of the comment replied to.
 When clicked, those links insert the author 
name and a link to the comment you are replying to in the textarea, and adds a Preview
of the original comment to the @Reply (on hover using javascript).

This is a MASHUP of [this](http://www.spreeblick.com/2007/09/25/worst-code-ever/)
and [that](https://wordpress.org/extend/plugins/reply-to/)

### From the original README (Credits)

by [Yus](https://wordpress.org/extend/plugins/profile/iyus/)

Most of the code is taken from the Custom Smilies plugin by Quang Anh Do which is
released under GNU GPL :
 http://onetruebrace.com/custom-smilies

Thanks to [Guillaume Ringuenet](http://blog.guillaumeringuenet.info/) who made the
arrow graphics.

I didn’t create anything new, and I do not claim so in any way.
 This plugin is 
just a feature I wanted and thought it could interest some other people.

## 屏幕截图

 * [[
 * The reply arrows as they appear in comments.
 * [[
 * This is automaticaly inserted when you click on a reply arrow.
 * [[
 * Preview of linked comment shown when hovering over the link.
 * [[
 * Advanced options

## 安装

 1. Upload the plugin **folder** to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `<?php if( function_exists( 'atrwcp_reply' ) ) atrwcp_reply(); ?>` in your
    comments.php where you want the link to appear. For example, before the `<?php 
    edit_comment_link(...` part.
 4. (optional) Go to `Settings -> @Reply with preview` to see some andvanced settings
    and advanced uasge of `atrwcp_reply()`.
 5. (optional) In the `extra` folder you will find a `reply.png` file for dark background
    themes, use it to replace the default file if you need.
 6. (optional) Themes like the WP default theme Kubrick don’t have their comments wrapped
    up properly. For this plugin to work your theme’s code should really look somewhat
    like this:
    `<div class="comment-text">``<?php comment_text() ?>``</div>`if your
    theme only has a different class used, you can change the settings of the plugin(`
    Settings -> @Reply with preview`) to work with that.

## 常见问题

  It doesn’t work ! I activated the plugin but I can’t see the reply arrows.

You skipped the 3rd step of the installation process. Try again. 🙂

  Where’s the settings for this plugin?

Navigate to `Settings -> @Reply with preview`.

  It doesn’t work ! I can see the reply arrows but clicking them does nothing.

Either you have disabled JavaScript in your browser or your WordPress theme is not
using the default id for the comments `<textarea>` (which is `comment`). In the 
later case, check your `comments.php` file to find your textarea id, then go set
that in the Options for this plugin.

  It doesn’t work ! I don’t see the comment preview.

Either you have disabled JavaScript in your browser or your WordPress theme is not
using the default class for the comments text’s encapsulating `<div>` (which is `
comment-text`). In the later case, check your `comments.php` file to find the id
of the div containing the comments’ text, then go set that in the Options for this
plugin.

In addition, you might have to add `position:relative;` to the stylesheet definition
of the DOM-elements holding the comments in order to make the preview positioning
work. You can also use the custon CSS section in the plugin’s settings (eg. `div.
comment-text { position:relative; }`).

  Possible conflicts with other plugins.

A plugin that filters the default WordPress comments functions, may prevent @ Reply
from working. For example, WP_Identicon does this, but it also has an alternate 
setup for “advanced users” that doesn’t conflict with @ Reply.

  More problems?

Please provide some [feedback @ the forums](https://wordpress.org/tags/reply-w-comment-preview?forum_id=10#postform)

## 评价

此插件暂无评价。

## 贡献者及开发者

「@Reply \w comment preview」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ marcu5 ](https://profiles.wordpress.org/marcu5/)
 *   [ Yus ](https://profiles.wordpress.org/iyus/)

[帮助将「@Reply \w comment preview」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/reply-w-comment-preview)

### 对开发感兴趣吗?

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

## 更新日志

**0.0.41** – jQuery loading tweaks

**0.0.4** – (hopefully) fixed code to autoload jQuery and included jQuery in the
package so it will hopefully work with older WP versions

**0.0.3** – WP wont allow commenters to use the `class` attribute, so this will 
now be created by a filter.

**0.0.2** – set ID for comment-textarea used by theme in the settings panel.

**0.0.1** – initial release

## 额外信息

 *  版本 **0.0.41**
 *  最后更新：**18 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.3 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/reply-w-comment-preview/)
 * 标签
 * [at-reply](https://cn.wordpress.org/plugins/tags/at-reply/)[comments](https://cn.wordpress.org/plugins/tags/comments/)
   [preview](https://cn.wordpress.org/plugins/tags/preview/)[reply](https://cn.wordpress.org/plugins/tags/reply/)
   [twitter](https://cn.wordpress.org/plugins/tags/twitter/)
 *  [高级视图](https://cn.wordpress.org/plugins/reply-w-comment-preview/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/reply-w-comment-preview/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/reply-w-comment-preview/reviews/)

## 贡献者

 *   [ marcu5 ](https://profiles.wordpress.org/marcu5/)
 *   [ Yus ](https://profiles.wordpress.org/iyus/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/reply-w-comment-preview/)

## 捐助

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

 [ 捐助此插件 ](http://blog.acidchaos.de/donate)