WordPress.org

Plugin Directory

WP Developer Info

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

You worked hard developing your plugins & themes for the W.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 W.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 W.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):

<div class="developer-info">
    <a href="[dev-info-homepage]" target="_blank">[dev-info-icon]</a>
    <div class="title">
        <h3><a href="[dev-info-homepage]" target="_blank" />[dev-info-name]</a></h3>
        <span class="stars">[dev-info-stars]</span> <span class="ratings">([dev-info-num-ratings])</span>
    </div>
    <p class="description">[dev-info-short-description]</p>
</div>
  • [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 W.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 W.org profile).

Requires: 3.8.0 or higher
Compatible up to: 4.4.4
Last Updated: 7 months ago
Active Installs: Less than 10

Ratings

0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1