跳到内容

WP Developer Info

v1.0.4

Dan Rossiter · 2013年1月27日 上架

You worked hard developing your plugins & themes for the WP.org community. Don't you think you should be able to show off your hard work?

正在使用
10 以下
评分
暂无
累计下载
2,120
最近更新
2016年12月11日
需要 WordPress 3.8.0+已测试到 4.7.40

贡献者

截图

Sample default output using [dev-info author=danrossiter] .
Sample default output using [dev-info author=danrossiter] .

You worked hard developing your plugins & themes for the WP.org community. Don’t you think you should be able
to show off your hard work? I did, so I threw together this plugin which will poll the WP.org plugin &
theme APIs and dynamically display all of your hard work. Unlike some similar plugins, there is no page scraping
happening here (eww!).

Usage could not be more easy. The simplest usage is the following shortcode: [dev-info author=<author slug>].
Advanced usage is documented below.

[dev-info] Arguments

  • author: The author slug. This is the same value at the end of your WP.org profile (eg: https://profiles.wordpress.org/danrossiter/).
  • slug: The plugin or theme slug to be retrieved (useful if you just want to display info about a single plugin).
  • api: Optional. This indicates whether to query the plugins API, the themes API, or both (“plugins”, “themes”, “plugins,themes”).
    The default is both, but if you only want one then you should explicitly set this value to avoid making two HTTP
    calls from your server.
  • orderby: Field to order by (eg: name, slug, downloaded). Any field with an associated shortcode may be ordered against,
    though some such as stars might not make a whole lot of sense to order by.
  • order: Ascending or descending sort (ASC or DESC).

The [dev-info] shortcode supports a number of nested shortcodes allowing complete customization of the output generated.
An example of this is the following (this is infact the default output format):

[dev-info-icon]

[dev-info-name]

[dev-info-stars] ([dev-info-num-ratings])

[dev-info-short-description]

  • [dev-info-name]: The name of the plugin/theme.
  • [dev-info-slug]: The slug identifying the plugin/theme.
  • [dev-info-description]: The full description.
  • [dev-info-short-description]: The short description. For themes this is the first 150 characters of the description.
  • [dev-info-version]: The current version of the plugin/theme.
  • [dev-info-author]: The name of the author.
  • [dev-info-author-profile]: The URL for the author’s WP.org profile.
  • [dev-info-active-installs]: The number of active installs for the plugin/theme.
  • [dev-info-rating]: Percent rating of the plugin/theme.
  • [dev-info-num-ratings]: The number of users that have rated the plugin/theme.
  • [dev-info-downloaded]: The number of downloads for the plugin/theme.
  • [dev-info-downloadlink]: The download link for the plugin/theme.
  • [dev-info-last-updated]: The last time the plugin/theme was updated.
  • [dev-info-homepage]: The homepage of the plugin/theme.
  • [dev-info-icon]: The IMG tag containing the icon for plugins and the first screenshot for themes.
  • [dev-info-stars]: The rating represented in stars (same as what is displayed on the WP.org profile).

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums