توضیحات
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 pluginslug
– The plugin slugversion
– The plugin version numberauthor
– 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 nameauthor_url
– The URL of the plugin author’s homepagerequires
– The minimum WP version requiredtested
– The highest level of WP the plugin has been tested torating
– 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.orgdownloaded
– 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 plugindescription
– The description section of the readme.txtfaq
– The FAQ section of the readme.txtinstallation
– The installaton section of the readme.txtscreenshots
– The screen shots sectionhomepage_url
– The URL of the plugin’s homepagelink_url
– The URL of the plugin’s page on the WP Plugin Directorydownload_url
– The URL of the plugin’s ZIP filetags
– 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 textlink
– A formatted link to the plugin’s page on the WP Plugin Directory with the specified link textdownload
– 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” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگانترجمه “WP Plugin Data” به زبان شما.
علاقه مند به توسعه هستید؟
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.