{"id":4054,"date":"2008-11-15T11:59:51","date_gmt":"2008-11-15T11:59:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/most-read-posts-in-xx-days\/"},"modified":"2019-05-29T08:00:19","modified_gmt":"2019-05-29T08:00:19","slug":"most-read-posts-in-xx-days","status":"publish","type":"plugin","link":"https:\/\/hat.wordpress.org\/plugins\/most-read-posts-in-xx-days\/","author":15201,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.7.1","stable_tag":"trunk","tested":"5.2.24","requires":"2.6.3","requires_php":"","requires_plugins":"","header_name":"Most Read in XX Days","header_author":"Claudio Simeone - Studio404.it","header_description":"","assets_banners_color":"","last_updated":"2019-05-29 08:00:19","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=JH5C8NEPH7M8U&currency_code=EUR&source=url","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/most-read-posts-in-xx-days\/","header_author_uri":"http:\/\/www.studio404.it","rating":5,"author_block_rating":0,"active_installs":300,"downloads":23705,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"2.3.3":"<p>If you use Sidebar Widgets, check Most Read settings in the Widget Page. They should be OK, but it is better to do a check.<\/p>","2.3":"<p>Visit Plugin Settings Page and set a width and an height for image previews.<\/p>","1.0":"<p>Delete old plugin directory and replace with the new one.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-3.png":{"filename":"screenshot-3.png","revision":"2096976","resolution":"3","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"2096976","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2096976","resolution":"1","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"2096976","resolution":"4","location":"plugin"}},"screenshots":{"1":"The Sidebar Widgets in front-end: one for Pages, one for Posts.","2":"Every widget is configurable.","3":"The Plugin Settings Page.","4":"In the Edit Posts and Page Screen you have a column with the Hits and you can also edit them."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[442,5897,166,522,1105],"plugin_category":[36],"plugin_contributors":[82526],"plugin_business_model":[],"class_list":["post-4054","plugin","type-plugin","status-publish","hentry","plugin_tags-count","plugin_tags-hits","plugin_tags-posts","plugin_tags-stats","plugin_tags-visits","plugin_category-analytics","plugin_contributors-mrbrown","plugin_committers-mrbrown"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/most-read-posts-in-xx-days.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/most-read-posts-in-xx-days\/trunk\/screenshot-1.png?rev=2096976","caption":"The Sidebar Widgets in front-end: one for Pages, one for Posts."},{"src":"https:\/\/ps.w.org\/most-read-posts-in-xx-days\/trunk\/screenshot-2.png?rev=2096976","caption":"Every widget is configurable."},{"src":"https:\/\/ps.w.org\/most-read-posts-in-xx-days\/trunk\/screenshot-3.png?rev=2096976","caption":"The Plugin Settings Page."},{"src":"https:\/\/ps.w.org\/most-read-posts-in-xx-days\/trunk\/screenshot-4.png?rev=2096976","caption":"In the Edit Posts and Page Screen you have a column with the Hits and you can also edit them."}],"raw_content":"<!--section=description-->\n<p>Most Read Posts counts Post and Pages hits and allows you to show them in:<\/p>\n\n<ul>\n<li>The Single Post page<\/li>\n<li>The Page page<\/li>\n<li>Index and Archive pages<\/li>\n<li>The Sidebar through a configurable Widget, also with featured images<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>most-read-posts-in-xx-days<\/code> directory in your <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>If needed, configure Plugin Settings and the Widget<\/li>\n<li>(optional) Place these tags in your template:<\/li>\n<\/ol>\n\n<ul>\n<li><p><code>single.php<\/code> or <code>page.php<\/code> in the Loop<\/p>\n\n<pre><code>&lt;?php ST4_single_hits(); ?&gt;\n<\/code><\/pre><\/li>\n<li><p><code>index.php<\/code> (and \/ or <code>archive.php<\/code> etc...), in the Loop<\/p>\n\n<pre><code>&lt;?php ST4_hits(); ?&gt;\n<\/code><\/pre><\/li>\n<li><p><code>sidebar.php<\/code> (only if you don't use Widgets)<\/p>\n\n<p>\/\/ last 5 posts in last 30 days, show the hits, show image preview\n    ST4_mostread(30, 5, 'yes', 'yes');\n\/\/ show 10 posts from all published posts, show hits, don't show preview\n    ST4_mostread(0, 10, 'yes', 'no');\n\/\/ show 3 pages from all published pages, show hits, don't show preview\n    ST4_mostread(0, 10, 'yes', 'no', 'page');<\/p><\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Can I show the most read Posts without the date limit?<\/dt>\n<dd><p>Yes, you can remove the date limit in the Sidebar widget settings<\/p><\/dd>\n<dt>Can I display Post and Page featured images?<\/dt>\n<dd><p>Yes, you can display them through Sidebar widget settings<\/p><\/dd>\n<dt>Can I track also Pages?<\/dt>\n<dd><p>Yes, since version 2.3.2 you can show Page hits through Sidebar widget settings<\/p><\/dd>\n<dt>Can I import Page and Post hits from a different plugin?<\/dt>\n<dd><p>Yes, since 2.4 version you can edit hits through the Bulk and Quick Edit screens.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.7.1<\/h4>\n\n<ul>\n<li>Moved translation files in <code>languages<\/code> directory to comply WordPress Plugin Repo localization requirements<\/li>\n<\/ul>\n\n<h4>2.7<\/h4>\n\n<ul>\n<li>Fixed PHP 7 deprecated warning about PHP 4 style constructors on MostRead Widget<\/li>\n<\/ul>\n\n<h4>2.6<\/h4>\n\n<ul>\n<li>Improved custom DB table registration to avoid PHP warnings on plugin activation on some hosts<\/li>\n<li>WordPress multisite support added<\/li>\n<li>Aligned version number (2.6) in <code>readme.txt<\/code> and <code>ST4_most_read.php<\/code><\/li>\n<\/ul>\n\n<h4>2.5<\/h4>\n\n<ul>\n<li>Corrected informations in <code>readme.txt<\/code><\/li>\n<\/ul>\n\n<h4>2.4<\/h4>\n\n<ul>\n<li>Added a new field in the Bulk and Quick Edit screens to edit Posts and Page Hits (useful if you want to import manually hits from another stats plugin).<\/li>\n<li>Some bugs fixed<\/li>\n<li>Changes and fixes in localization files<\/li>\n<li>Added plugin screenshots<\/li>\n<li>Corrected informations in <code>readme.txt<\/code><\/li>\n<\/ul>\n\n<h4>2.3.2<\/h4>\n\n<ul>\n<li>Added hits count also for Pages.<\/li>\n<li>Added a sortable column with Page Hits in All Pages Administration Screen.<\/li>\n<\/ul>\n\n<h4>2.3.1<\/h4>\n\n<ul>\n<li>Added a sortable column with Post Hits in All Posts Administration Screen.<\/li>\n<\/ul>\n\n<h4>2.3<\/h4>\n\n<ul>\n<li>Some bugs fixed<\/li>\n<li>Added new Widget option to show featured image preview<\/li>\n<li>Added new Widget options to remove the date filter<\/li>\n<li>Added new Plugin Option to show post hits automatically<\/li>\n<li>Added new Plugin Option to use custom CSS rules<\/li>\n<li>Added new Plugin Option to set image preview custom CSS sizes<\/li>\n<li>Changes in localization files<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>Code upgrade for WordPress 2.8 compatibility.<\/li>\n<li>Added new function <code>ST4_get_post_hits()<\/code> to get post hits outside the Loop<\/li>\n<li>Changes in localization files<\/li>\n<li>Code optimization<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"A simple plugin that counts and shows hits for each Post and Page in your WordPress blog.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4054","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4054"}],"author":[{"embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mrbrown"}],"wp:attachment":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4054"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4054"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4054"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4054"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4054"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}