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

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 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://tw.wordpress.org/plugins/wp-specific-comment/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wp-specific-comment/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wp-specific-comment/#installation)
 * [開發資訊](https://tw.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 或更新版本 **
 *  已測試相容的 WordPress 版本 **2.7.1**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-specific-comment/)
 * 標籤:
 * [comments](https://tw.wordpress.org/plugins/tags/comments/)[id](https://tw.wordpress.org/plugins/tags/id/)
   [specific](https://tw.wordpress.org/plugins/tags/specific/)
 *  [進階檢視](https://tw.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/)