{"id":49324,"date":"2016-07-01T10:41:19","date_gmt":"2016-07-01T10:41:19","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/easy-plugin-stats\/"},"modified":"2025-08-06T20:36:24","modified_gmt":"2025-08-06T20:36:24","slug":"easy-plugin-stats","status":"closed","type":"plugin","link":"https:\/\/ar.wordpress.org\/plugins\/easy-plugin-stats\/","author":12996006,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.1","stable_tag":"2.0.1","tested":"6.8.5","requires":"6.5","requires_php":"8.0","requires_plugins":null,"header_name":"Easy Plugin Stats","header_author":"Nick Diego","header_description":"Easily display stats from plugins hosted on WordPress.org","assets_banners_color":"a1a3a5","last_updated":"2025-08-06 20:36:24","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.nickdiego.com","header_author_uri":"https:\/\/www.nickdiego.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":4732,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"ndiego","date":"2022-12-18 02:21:44"},"2.0.0":{"tag":"2.0.0","author":"ndiego","date":"2024-06-19 01:41:06"},"2.0.1":{"tag":"2.0.1","author":"ndiego","date":"2025-08-06 20:36:24"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3122575,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3122575,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3122575,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3122575,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3340603,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"landingPage\":\"\\\/wp-admin\\\/post.php?post=6&action=edit\",\"login\":true,\"features\":{\"networking\":true},\"steps\":[{\"step\":\"updateUserMeta\",\"meta\":{\"admin_color\":\"modern\",\"show_welcome_panel\":0},\"userId\":1},{\"step\":\"setSiteOptions\",\"options\":{\"blogname\":\"Easy Plugin Stats\"}},{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"easy-plugin-stats\"},\"options\":{\"activate\":true}},{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"icon-block\"}},{\"step\":\"installTheme\",\"themeZipFile\":{\"resource\":\"wordpress.org\\\/themes\",\"slug\":\"twentytwentyfour\"}},{\"step\":\"importWxr\",\"file\":{\"resource\":\"url\",\"url\":\"https:\\\/\\\/raw.githubusercontent.com\\\/ndiego\\\/easy-plugin-stats\\\/main\\\/_playground\\\/demo-content.xml\"}}]}"}},"all_blocks":{"outermost\/plugin-stat":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"outermost\/plugin-stat","version":"2.0.0","title":"Plugin Stat","category":"widgets","description":"Display a stat associated with a plugin hosted on WordPress.org.","attributes":{"slugs":{"type":"array","default":[]},"field":{"type":"string","default":"active_installs"},"cache":{"type":"string"},"prefix":{"type":"string"},"suffix":{"type":"string"},"prefixColor":{"type":"string"},"suffixColor":{"type":"string"},"textAlign":{"type":"string"},"linkText":{"type":"string"},"linkTarget":{"type":"boolean"}},"example":{},"supports":{"html":false,"color":{"gradients":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true,"link":true}},"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}}},"textdomain":"plugin-stats","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css","render":"file:.\/render.php"}},"tagged_versions":["1.0.0","2.0.0","2.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3104276,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3104276,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3104276,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"A screenshot of the Plugin Stat block in Editor, which displays the total downloads for the Easy Plugin Stats plugin.","2":"A screenshot of the Plugin Button block variation in Editor, which is connected to the Easy Plugin Stats download link.","3":"A screenshot of the shortcode implementation in the Editor."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[74070,5440,49558],"plugin_category":[43,46,53],"plugin_contributors":[79554,79555],"plugin_business_model":[],"class_list":["post-49324","plugin","type-plugin","status-closed","hentry","plugin_tags-active-installs","plugin_tags-downloads","plugin_tags-plugin-stats","plugin_category-customization","plugin_category-editor-and-writing","plugin_category-ratings-and-reviews","plugin_contributors-ndiego","plugin_contributors-outermostdesign","plugin_committers-ndiego"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/easy-plugin-stats_a1a3a5.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/easy-plugin-stats\/assets\/screenshot-1.png?rev=3104276","caption":"A screenshot of the Plugin Stat block in Editor, which displays the total downloads for the Easy Plugin Stats plugin."},{"src":"https:\/\/ps.w.org\/easy-plugin-stats\/assets\/screenshot-2.png?rev=3104276","caption":"A screenshot of the Plugin Button block variation in Editor, which is connected to the Easy Plugin Stats download link."},{"src":"https:\/\/ps.w.org\/easy-plugin-stats\/assets\/screenshot-3.png?rev=3104276","caption":"A screenshot of the shortcode implementation in the Editor."}],"raw_content":"<!--section=description-->\n<p>Easily display stats associated with plugins hosted on WordPress.org, such as the number of downloads, active installations, star rating, and more.<\/p>\n\n<p>This plugin was designed for developers with plugins in the WordPress.org repository (and anyone else) who want to display their plugin information on an external site. It uses the WordPress Plugins API to fetch the raw data, which can then be inserted into a page or post using a custom block, a Button block variation, or a shortcode. You can display stats from a single plugin, or aggregate stats from multiple plugins.<\/p>\n\n<h3>Available stats<\/h3>\n\n<p>Nearly all of the fields returned by the WordPress.org Plugins API are available, as well as a few extra options. There are currently 28 to choose from.<\/p>\n\n<p><strong>Single stats<\/strong><\/p>\n\n<ul>\n<li>Active installs<\/li>\n<li>Times downloaded<\/li>\n<li>Plugin name<\/li>\n<li>Plugin slug<\/li>\n<li>Version<\/li>\n<li>Author<\/li>\n<li>Contributors<\/li>\n<li>Tags<\/li>\n<li>Requires<\/li>\n<li>Tested<\/li>\n<li>Number of reviews<\/li>\n<li>Rating out of 100<\/li>\n<li>Rating out of 5<\/li>\n<li>Star rating<\/li>\n<li>Last updated<\/li>\n<li>Date added<\/li>\n<li>Plugin homepage link<\/li>\n<li>Download link<\/li>\n<li>Live preview link<\/li>\n<li>Support forum link<\/li>\n<li>Reviews link<\/li>\n<li>Author profile link<\/li>\n<li>Donate link<\/li>\n<li>Description (Shortcode only)<\/li>\n<li>Installation (Shortcode only)<\/li>\n<li>Screenshots (Shortcode only)<\/li>\n<li>Changelog (Shortcode only)<\/li>\n<li>FAQ (Shortcode only)<\/li>\n<\/ul>\n\n<p><strong>Aggregate stats<\/strong><\/p>\n\n<p>Display combined stats from multiple plugins.<\/p>\n\n<ul>\n<li>Active installs<\/li>\n<li>Times downloaded<\/li>\n<\/ul>\n\n<h3>Stay connected<\/h3>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/ndiego\/easy-plugin-stats\">View on GitHub<\/a><\/li>\n<li><a href=\"https:\/\/nickdiego.com\/projects\/easy-plugin-stats\/\">Visit plugin project page<\/a><\/li>\n<li><a href=\"https:\/\/twitter.com\/nickmdiego\">Follow on Twitter<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>You have a couple of options:\n\n<ul>\n<li>Go to Plugins &rarr; Add New and search for \"Easy Plugin Stats\". Once found, click \"Install\".<\/li>\n<li>Download the Easy Plugin Stats from WordPress.org and make sure the folder is zipped. Then upload via Plugins &rarr; Add New &rarr; Upload.<\/li>\n<\/ul><\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Search for the block within the Block Editor (Gutenberg) and begin using it. See the <a href=\"https:\/\/wordpress.org\/plugins\/easy-plugin-stats\/#faq\">FAQs<\/a> for additional usage information.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20use%20the%20plugin%20stat%20block%3F'><h3>How do I use the Plugin Stat block?<\/h3><\/dt>\n<dd><p>Search for \"Plugin Stat\" in the block inserter and add it to a post just like you would any other block. In the inspector, enter the plugin slug and choose the stat you wish to display.<\/p>\n\n<p>The slug can be retrieved from the plugin's URL on WordPress.org. For example, this plugin's slug is <code>easy-plugin-stats<\/code>.<\/p><\/dd>\n<dt id='how%20do%20i%20use%20the%20plugin%20button%20variation%20for%20the%20button%20block%3F'><h3>How do I use the Plugin Button variation for the Button block?<\/h3><\/dt>\n<dd><p>Insert a WordPress Buttons block, then click on the <code>+<\/code> inserter or open the block inserter. Besides the default Button block, you'll see the Plugin Button variation. Insert the Plugin Button into the Buttons block. In the inspector, enter the plugin slug and choose the link you wish to connect to the button.<\/p>\n\n<p>The slug can be retrieved from the plugin's URL on WordPress.org. For example, this plugin's slug is <code>easy-plugin-stats<\/code>.<\/p><\/dd>\n<dt id='how%20do%20i%20use%20the%20shortcode%3F'><h3>How do I use the shortcode?<\/h3><\/dt>\n<dd><p>Below is the base shortcode structure with defaults. Technically, <code>slug<\/code> is the only required field. If you enter your plugin's slug and place the shortcode in a post or template, it will display the number of active installs and cache the data for <code>43200<\/code> seconds (12 hours).<\/p>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>[eps type=\"single\" slug=\"your-plugin-slug\" field=\"active_installs\" cache=\"43200\" before=\"\" after=\"\"]\n    `<\/p>\n\n<p><strong>type<\/strong><\/p>\n\n<p><em>Optional.<\/em> The type of stat you with to display, either a stat from a single plugin or an aggregate stat generated from multiple plugins. Accepts <code>single<\/code> or <code>aggregate<\/code>. Defaults to <code>single<\/code>.<\/p>\n\n<p><strong>slug<\/strong><\/p>\n\n<p><em>Required.<\/em> This is the slug which can be retrieved from the plugin's URL on WordPress.org. For example, this plugin's slug is <code>easy-plugin-stats<\/code>. Accepts any valid plugin slug for <code>single<\/code>, or any number of space-separated plugin slugs when using <code>aggregate<\/code>. Defaults to <code>null<\/code>.<\/p>\n\n<p><strong>field<\/strong><\/p>\n\n<p><em>Optional.<\/em> The name of the field you have chosen to display. Accepts any of the following fields. Defaults to <code>active_installs<\/code>.<\/p>\n\n<p>The available stat fields for <code>single<\/code> are:<\/p>\n\n<ul>\n<li><code>active_installs<\/code> \u2013 Active installs<\/li>\n<li><code>downloaded<\/code> \u2013 Times downloaded<\/li>\n<li><code>name<\/code> \u2013 Plugin Name<\/li>\n<li><code>slug<\/code> \u2013 Plugin Slug<\/li>\n<li><code>version<\/code> \u2013 Version<\/li>\n<li><code>author<\/code> \u2013 Author<\/li>\n<li><code>contributors<\/code> \u2013 Contributors<\/li>\n<li><code>tags<\/code> \u2013 Tags<\/li>\n<li><code>requires<\/code> \u2013 Requires<\/li>\n<li><code>tested<\/code> \u2013 Tested<\/li>\n<li><code>num_ratings<\/code> \u2013 Number of reviews<\/li>\n<li><code>rating<\/code> \u2013 Rating out of 100<\/li>\n<li><code>five_rating<\/code> \u2013 Rating out of 5<\/li>\n<li><code>star_rating<\/code> \u2013 Star rating<\/li>\n<li><code>last_updated<\/code> \u2013 Last updated<\/li>\n<li><code>added<\/code> \u2013 Date added<\/li>\n<li><code>homepage_link<\/code> \u2013 Plugin homepage link<\/li>\n<li><code>download_link<\/code> \u2013 Download link<\/li>\n<li><code>live_preview_link<\/code> \u2013 Live preview link<\/li>\n<li><code>support_link<\/code> \u2013 Support forum link<\/li>\n<li><code>reviews_link<\/code> \u2013 Reviews link<\/li>\n<li><code>author_profile<\/code> \u2013 Author profile link<\/li>\n<li><code>donate_link<\/code> \u2013 Donate link<\/li>\n<li><code>description<\/code> \u2013 Description<\/li>\n<li><code>installation<\/code> \u2013 Installation<\/li>\n<li><code>screenshots<\/code> \u2013 Screenshots<\/li>\n<li><code>changelog<\/code> \u2013 Changelog<\/li>\n<li><code>faq<\/code> \u2013 FAQ<\/li>\n<\/ul>\n\n<p>The available stat fields for <code>aggregate<\/code> are:<\/p>\n\n<ul>\n<li><code>active_installs<\/code> \u2013 Active installs<\/li>\n<li><code>downloaded<\/code> \u2013 Times downloaded<\/li>\n<\/ul>\n\n<p><strong>cache<\/strong><\/p>\n\n<p><em>Optional.<\/em> The shortcode requests your plugin's stats from WordPress.org. To limit the number of requests made, response data is cached. This optional setting allows you to adjust the cache time as you see fit. Accepts any positive integer (representing seconds) greater than <code>5<\/code>. Defaults to <code>43200<\/code> (i.e. 12 hours).<\/p>\n\n<p><strong>before<\/strong><\/p>\n\n<p><em>Optional.<\/em> Optional HTML to be printed before the field's output. Accepts any valid HTML, but note that all double quotes will be replaced with single quotes to adhere to the required shortcode markup. Defaults to <code>null<\/code>.<\/p>\n\n<p><strong>after<\/strong><\/p>\n\n<p><em>Optional.<\/em> Optional HTML to be printed after the field's output. Accepts any valid HTML, but note that all double quotes will be replaced with single quotes to adhere to the required shortcode markup. Defaults to <code>null<\/code>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.1<\/h4>\n\n<p><strong>Fixed<\/strong><\/p>\n\n<ul>\n<li>Fix bug where an incorrectly set field type in the <code>eps<\/code> shortcode generated a critical error on the front end.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<p><strong>Added<\/strong><\/p>\n\n<ul>\n<li>Add the Plugin Stat block.<\/li>\n<li>Add the Plugin Button block variation for the Button block.<\/li>\n<li>Add Playground blueprint for live plugin preview.<\/li>\n<\/ul>\n\n<p><strong>Changed<\/strong><\/p>\n\n<ul>\n<li>The minimum required version is now WordPress 6.5. The plugin now uses the Block Bindings API, which was introduced in 6.5.<\/li>\n<li>The TinyMCE plugin has been removed. Shortcodes still work but have to be created manually. <\/li>\n<li>Star ratings are now SVGs, and the Dashicons have been removed.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Easily display stats associated with plugins hosted on WordPress.org.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/49324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=49324"}],"author":[{"embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ndiego"}],"wp:attachment":[{"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=49324"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=49324"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=49324"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=49324"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=49324"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ar.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=49324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}