{"id":22166,"date":"2013-02-22T17:03:12","date_gmt":"2013-02-22T17:03:12","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/be-stats\/"},"modified":"2017-04-10T18:44:47","modified_gmt":"2017-04-10T18:44:47","slug":"be-stats","status":"closed","type":"plugin","link":"https:\/\/ps.wordpress.org\/plugins\/be-stats\/","author":903215,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.1","stable_tag":"1.1.1","tested":"4.7.33","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"BE Stats","header_author":"Bill Erickson","header_description":"","assets_banners_color":"","last_updated":"2017-04-10 18:44:47","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/billerickson\/be-stats","header_author_uri":"http:\/\/www.billerickson.net","rating":4.5,"author_block_rating":0,"active_installs":20,"downloads":4770,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"1"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"985475","resolution":"128x128","location":"assets"},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"985475","resolution":"256x256","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1446,4132,5803,522],"plugin_category":[36],"plugin_contributors":[78145],"plugin_business_model":[],"class_list":["post-22166","plugin","type-plugin","status-closed","hentry","plugin_tags-listing","plugin_tags-popular","plugin_tags-popularity","plugin_tags-stats","plugin_category-analytics","plugin_contributors-billerickson","plugin_committers-billerickson"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/be-stats.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This is a helper plugin to allow you to build WordPress queries using WordPress.com stats.<\/p>\n\n<p>This plugin uses the WordPress.com stats (packaged in Jetpack) to find out your most popular posts. You must be running Jetpack for this plugin to work. I recommend running Jetpack for at least 30 days to get useful data.<\/p>\n\n<p>It asks for the 100 most popular posts over the past 30 days. This includes both posts and pages, since their stats don\u2019t let you filter based on post type. I filter this list down to just posts and then store its ranking as post meta ('be_stats').<\/p>\n\n<p>You can <a href=\"https:\/\/gist.github.com\/billerickson\/4997202\">write custom queries<\/a> to list popular posts, or use the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/display-posts-shortcode\/\">Display Posts Shortcode plugin<\/a> to do it for you. Examples using the shortcode plugin:<\/p>\n\n<p>[display-posts orderby=\"popular\"] - Lists the 10 most popular posts\n[display-posts orderby=\"popular\" posts_per_page=\"4\"] - Lists the 4 most popular posts\n[display-posts orderby=\"popular\" posts_per_page=\"4\" tag=\"basic\"] - Lists the 4 most popular posts tagged \"basic\"<\/p>\n\n<h3>For Developers<\/h3>\n\n<p>There are a few filters available to you for customization. Refer to the plugin's code for more information.<\/p>\n\n<p>be_stats_args - arguments passed to WordPress.com Stats API.\nDefault: array( 'days' =&gt; 30, 'limit' =&gt; 100 )\nExample: http:\/\/www.billerickson.net\/code\/customize-be-stats-arguments\/<\/p>\n\n<p>be_stats_update - Conditional for determining if stats data should be saved\nDefault: 'post' == get_post_type()\nExample: http:\/\/www.billerickson.net\/code\/be-stats-change-ranking-conditions\/<\/p>\n\n<!--section=changelog-->\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Bump up the \"Tested to\" version<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fix PHP Notice, props jjeaton<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Version<\/li>\n<\/ul>","raw_excerpt":"Keeps track of your most popular posts for display in site","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/22166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=22166"}],"author":[{"embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/billerickson"}],"wp:attachment":[{"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=22166"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=22166"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=22166"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=22166"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=22166"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=22166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}