Title: WP Plugin Data
Author: fergbrain
Published: <strong>2009 年 3 月 4 日</strong>
Last modified: 2009 年 3 月 5 日

---

搜索插件

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

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

# WP Plugin Data

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

[下载](https://downloads.wordpress.org/plugin/wp-plugin-data.0.5.zip)

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

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

## 描述

Provides abstracted data about plugins. Based on [Plugin Info] (https://wordpress.
org/extend/plugins/plugin-info/) by John Blackbourn.

## 安装

Delete any previous version of WP Plugin Data and associated files.

Download and install into your plugins directory.

Activate the plugin.

#### Usage

WP Plugin Data uses shortcodes to add information about a particular WordPress.org-
hosted plugin to posts and pages. The general format is:

    ```
    [wppd slug parameter]
    ```

Where `slug` is the sanitized version of the plugin name, such as `wp-plugin-data`

And `parameter` is one of the following:

 * `name` – The name of the plugin
 * `slug` – The plugin slug
 * `version` – The plugin version number
 * `author` – A formatted link to the plugin author’s homepage with the author’s
   name as the link text (if the author doesn’t have a homepage this will simply
   display their name)
 * `author_name` – The plugin author’s name
 * `author_url` – The URL of the plugin author’s homepage
 * `requires` – The minimum WP version required
 * `tested` – The highest level of WP the plugin has been tested to
 * `rating` – The plugin’s star rating as a whole number out of 5 (given by visitors
   to wp.org)
 * `rating_raw` – The plugin’s actual average rating as a score out of 100 (given
   by visitors to wp.org)
 * `num_ratings` – The number of people who’ve rated your plugin on wp.org
 * `downloaded` – The all-time download count with comma-separated thousands (eg.“
   12,345”)
 * `downloaded_raw` – The all-time download count as a raw number (eg. “12345”)
 * `last_updated` – The date the plugin was last updated, formatted according to
   your Date Format settings under Settings->General (eg. “20 January 2008”)
 * `last_updated_ago` – How long ago the plugin was last updated (eg. “20 days ago”)
 * `last_updated_raw` – The date the plugin was last updated, in the format “yyyy-
   mm-dd”
 * `num_ratings` – The total number of people who have rated the plugin
 * `description` – The description section of the readme.txt
 * `faq` – The FAQ section of the readme.txt
 * `installation` – The installaton section of the readme.txt
 * `screenshots` – The screen shots section
 * `homepage_url` – The URL of the plugin’s homepage
 * `link_url` – The URL of the plugin’s page on the WP Plugin Directory
 * `download_url` – The URL of the plugin’s ZIP file
 * `tags` – A comma-separated list of the plugin’s tags

Additionally, there is a secondary shortcode for parameters that return formated
links

    ```
    [wppdlink slug parameter]Link Text[/wppdlink]
    ```

 * `homepage` – A formated link to the plugin’s homepage with the specified link
   text
 * `link` – A formatted link to the plugin’s page on the WP Plugin Directory with
   the specified link text
 * `download` – A formatted link to the plugin’s ZIP file with the specified link
   text

You can also use `[wppd slug parameter]` as the content. For example:

    ```
    [wppdlink wp-plugin-data download]WP Plugin Data - v[wppd wp-plugin-data version][/wppdlink]
    ```

Would return:

    ```
    <a href="https://downloads.wordpress.org/plugin/wp-plugin-data.zip">WP Plugin Data - v0.5</a>
    ```

## 常见问题

  Is the data cached?

Yes, plugin data retreived from WordPress.org is cached locally for one hour before
being refreshed.

  How is the data refreshed?

When someone visits one of your posts (or pages) that uses the [wppd] or [wppdlink]
shortcode, the plugin will check to see if the data is more than one hour old. If
it is, it will automatically refresh it at that time.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

[帮助将「WP Plugin Data」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-plugin-data)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **0.5**
 *  最后更新：**17 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.7 或更高版本 **
 *  已测试的最高版本为 **2.7.1**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-plugin-data/)
 * 标签
 * [api](https://cn.wordpress.org/plugins/tags/api/)[data](https://cn.wordpress.org/plugins/tags/data/)
   [developer](https://cn.wordpress.org/plugins/tags/developer/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-plugin-data/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://www.andrewferguson.net/2007/03/08/general-note/)