Title: WP Specific Comment
Author: davidlink
Published: <strong>2009 年 4 月 30 日</strong>
Last modified: 2009 年 4 月 30 日

---

搜索插件

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

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

# WP Specific Comment

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

[下载](https://downloads.wordpress.org/plugin/wp-specific-comment.1.0.zip)

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

 [支持](https://wordpress.org/support/plugin/wp-specific-comment/)

## 描述

WP Specific Comment provides a template tag for use anywhere in your theme, inside
or outside **The Loop**. This template tag will return a specific comment as an 
object, from which you can retrieve any standard comment data.

#### Template Tag

To initiate the plugin, place `<?php wp_specific_comment($ID); ?>` into your theme,
where `$ID` will be the ID number for the comment you want returned.

**Example:**

    ```
    <?php wp_specific_comment(44); ?> will return the comment with the ID of 44. Pretty simple, right? 
    ```

Note: This template tag will not actually display anything. It only sets up a comment
to be displayed. You’ll have to add in some other standard WordPress Template Tags
to get anything to show up on your blog. List of available Comment Tags can be found
[here](https://codex.wordpress.org/Template_Tags).

**Example:**

    ```
    <?php wp_specific_comment(1); ?> <h5 class="comment_author"><?php comment_author_link(); ?></h5> <div class="comment_text"><?php comment_text(); ?></div> 
    ```

The above code would retrieve comment with ID of 1, and then display its author (
linked to the author’s URL, if provided) in a `<h5>` followed by a `<div>` containing
the comment’s text content. Still pretty simple!

## 安装

Installation of WP Specific Comment is quick and easy.

 1. Upload `wp-specific-comment.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `<?php wp_specific_comment($ID); ?>` in your templates, where `$ID` is will
    be the numerical ID for the comment you want returned.
 4. Add additional [WordPress Comment Tags](https://codex.wordpress.org/Template_Tags)
    to display the desired data.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

[帮助将「WP Specific Comment」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-specific-comment)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0**
 *  最后更新：**17 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 2.0 或更高版本 **
 *  已测试的最高版本为 **2.7.1**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-specific-comment/)
 * 标签
 * [comments](https://cn.wordpress.org/plugins/tags/comments/)[id](https://cn.wordpress.org/plugins/tags/id/)
   [specific](https://cn.wordpress.org/plugins/tags/specific/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-specific-comment/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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