WP Developer Info

0

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 wh

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

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).