{"id":4918,"date":"2009-03-04T17:02:59","date_gmt":"2009-03-04T17:02:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-plugin-data\/"},"modified":"2009-03-05T06:12:07","modified_gmt":"2009-03-05T06:12:07","slug":"wp-plugin-data","status":"publish","type":"plugin","link":"https:\/\/ro.wordpress.org\/plugins\/wp-plugin-data\/","author":49360,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.5","stable_tag":"0.5","tested":"2.7.1","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"WP Plugin Data","header_author":"Andrew Ferguson","header_description":"","assets_banners_color":"","last_updated":"2009-03-05 06:12:07","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.andrewferguson.net\/2007\/03\/08\/general-note\/","header_plugin_uri":"http:\/\/andrewferguson.net\/","header_author_uri":"http:\/\/andrewferguson.net","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2102,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.5"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1556,3524,2275],"plugin_category":[],"plugin_contributors":[79832],"plugin_business_model":[],"class_list":["post-4918","plugin","type-plugin","status-publish","hentry","plugin_tags-api","plugin_tags-data","plugin_tags-developer","plugin_contributors-fergbrain","plugin_committers-fergbrain"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-plugin-data.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Provides abstracted data about plugins. Based on [Plugin Info] (http:\/\/wordpress.org\/extend\/plugins\/plugin-info\/) by John Blackbourn.<\/p>\n\n<!--section=installation-->\n<p>Delete any previous version of WP Plugin Data and associated files.<\/p>\n\n<p>Download and install into your plugins directory.<\/p>\n\n<p>Activate the plugin.<\/p>\n\n<h4>Usage<\/h4>\n\n<p>WP Plugin Data uses shortcodes to add information about a particular WordPress.org-hosted plugin to posts and pages. The general format is:<\/p>\n\n<pre><code>[wppd slug parameter]\n<\/code><\/pre>\n\n<p>Where <code>slug<\/code> is the sanitized version of the plugin name, such as <code>wp-plugin-data<\/code><\/p>\n\n<p>And <code>parameter<\/code> is one of the following:<\/p>\n\n<ul>\n<li><code>name<\/code> - The name of the plugin<\/li>\n<li><code>slug<\/code> - The plugin slug<\/li>\n<li><code>version<\/code> - The plugin version number<\/li>\n<li><code>author<\/code> - 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)<\/li>\n<li><code>author_name<\/code> - The plugin author's name<\/li>\n<li><code>author_url<\/code> - The URL of the plugin author's homepage<\/li>\n<li><code>requires<\/code> - The minimum WP version required<\/li>\n<li><code>tested<\/code> - The highest level of WP the plugin has been tested to<\/li>\n<li><code>rating<\/code> - The plugin's star rating as a whole number out of 5 (given by visitors to wp.org)<\/li>\n<li><code>rating_raw<\/code> - The plugin's actual average rating as a score out of 100 (given by visitors to wp.org)<\/li>\n<li><code>num_ratings<\/code> - The number of people who've rated your plugin on wp.org<\/li>\n<li><code>downloaded<\/code> - The all-time download count with comma-separated thousands (eg. \"12,345\")<\/li>\n<li><code>downloaded_raw<\/code> - The all-time download count as a raw number (eg. \"12345\")<\/li>\n<li><code>last_updated<\/code> - The date the plugin was last updated, formatted according to your Date Format settings under Settings-&gt;General (eg. \"20 January 2008\")<\/li>\n<li><code>last_updated_ago<\/code> - How long ago the plugin was last updated (eg. \"20 days ago\")<\/li>\n<li><code>last_updated_raw<\/code> - The date the plugin was last updated, in the format \"yyyy-mm-dd\"<\/li>\n<li><code>num_ratings<\/code> - The total number of people who have rated the plugin<\/li>\n<li><code>description<\/code> - The description section of the readme.txt<\/li>\n<li><code>faq<\/code> - The FAQ section of the readme.txt<\/li>\n<li><code>installation<\/code> - The installaton section of the readme.txt<\/li>\n<li><code>screenshots<\/code> - The screen shots section<\/li>\n<li><code>homepage_url<\/code> - The URL of the plugin's homepage<\/li>\n<li><code>link_url<\/code> - The URL of the plugin's page on the WP Plugin Directory<\/li>\n<li><code>download_url<\/code> - The URL of the plugin's ZIP file<\/li>\n<li><code>tags<\/code> - A comma-separated list of the plugin's tags<\/li>\n<\/ul>\n\n<p>Additionally, there is a secondary shortcode for parameters that return formated links<\/p>\n\n<pre><code>[wppdlink slug parameter]Link Text[\/wppdlink]\n<\/code><\/pre>\n\n<ul>\n<li><code>homepage<\/code> - A formated link to the plugin's homepage with the specified link text<\/li>\n<li><code>link<\/code> - A formatted link to the plugin's page on the WP Plugin Directory with the specified link text<\/li>\n<li><code>download<\/code> - A formatted link to the plugin's ZIP file with the specified link text<\/li>\n<\/ul>\n\n<p>You can also use <code>[wppd slug parameter]<\/code> as the content. For example:<\/p>\n\n<pre><code>[wppdlink wp-plugin-data download]WP Plugin Data - v[wppd wp-plugin-data version][\/wppdlink]\n<\/code><\/pre>\n\n<p>Would return:<\/p>\n\n<pre><code>&lt;a href=\"http:\/\/downloads.wordpress.org\/plugin\/wp-plugin-data.zip\"&gt;WP Plugin Data - v0.5&lt;\/a&gt;\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt>Is the data cached?<\/dt>\n<dd><p>Yes, plugin data retreived from WordPress.org is cached locally for one hour before being refreshed.<\/p><\/dd>\n<dt>How is the data refreshed?<\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Provides abstracted data about plugins using the WordPress.org API","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4918","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4918"}],"author":[{"embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fergbrain"}],"wp:attachment":[{"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4918"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4918"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4918"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4918"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4918"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}