{"id":5056,"date":"2009-03-17T08:38:43","date_gmt":"2009-03-17T08:38:43","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/kf-most-read\/"},"modified":"2010-02-22T14:01:05","modified_gmt":"2010-02-22T14:01:05","slug":"kf-most-read","status":"closed","type":"plugin","link":"https:\/\/tg.wordpress.org\/plugins\/kf-most-read\/","author":2147505,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2","stable_tag":"trunk","tested":"2.7.1","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"KF Most Read","header_author":"Kifulab.net","header_description":"","assets_banners_color":"","last_updated":"2010-02-22 14:01:05","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.kifulab.net\/","header_plugin_uri":"http:\/\/www.kifulab.net\/wordpress-plugins\/kf-most-read-plugin","header_author_uri":"http:\/\/www.kifulab.net","rating":0,"author_block_rating":0,"active_installs":10,"downloads":5299,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[5897,166],"plugin_category":[36],"plugin_contributors":[86715,93142],"plugin_business_model":[],"class_list":["post-5056","plugin","type-plugin","status-closed","hentry","plugin_tags-hits","plugin_tags-posts","plugin_category-analytics","plugin_contributors-fulippo","plugin_contributors-kilotto","plugin_committers-kifulab"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/kf-most-read.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin provides a function to register\/output\/return a list of the most viewed posts.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>You can use the function kf_get_posts_by_hits() anywhere in the template.\n    Examples:\n        <!-- Echo mode, retrieve the 10 most read posts in 7 days -->\n        <h3>Most read<\/h3>\n        <ul>\n            \n        <\/ul><\/p>\n\n<pre><code>    &lt;!-- Return mode (no output), retrieve the 5 most read posts in 31 days --&gt;\n    &lt;?php \n\n        $my_posts = kf_get_posts_by_hits(31,5);\n        \/\/ .. do some magic with $my_posts\n\n    ?&gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>As always:\n        1. Upload the file under your wp-content\/plugins directory\n        1. Activate the plugin<\/p>\n\n<!--section=changelog-->\n<p>1.1  Fixed some minor bugs.<\/p>","raw_excerpt":"Retrieve the most viewed posts list in a custom period of time","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5056"}],"author":[{"embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kifulab"}],"wp:attachment":[{"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5056"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5056"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5056"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5056"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5056"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}