{"id":196664,"date":"2024-10-18T11:29:58","date_gmt":"2024-10-18T11:29:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/postviews-insights\/"},"modified":"2024-11-18T12:32:36","modified_gmt":"2024-11-18T12:32:36","slug":"postviews-insights","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/postviews-insights\/","author":16120250,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.7.5","requires":"5.0","requires_php":"","requires_plugins":null,"header_name":"PostViews Insights","header_author":"Sunny Thakur","header_description":"PostViews Insights is a user-friendly plugin that helps you track how many times your posts are viewed. With PostViews Insights, you can easily see which of your posts are the most popular, helping you understand what content your audience loves the most.","assets_banners_color":"adaaa7","last_updated":"2024-11-18 12:32:36","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1014,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":{"1.0.0":{"tag":"1.0.0","author":"sunny923","date":"2024-10-18 11:29:33"},"1.0.1":{"tag":"1.0.1","author":"sunny923","date":"2024-11-18 12:32:36"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3202879,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3202893,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3172856,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3171399,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Screenshot 1 is admin settings page where you can manage you settings","2":"Secreenshot 2 displays the Views of posts in admin post table"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[232,8911,5899,80,872],"plugin_category":[36,43],"plugin_contributors":[233321],"plugin_business_model":[],"class_list":["post-196664","plugin","type-plugin","status-publish","hentry","plugin_tags-analytics","plugin_tags-insights","plugin_tags-postviews","plugin_tags-shortcode","plugin_tags-views","plugin_category-analytics","plugin_category-customization","plugin_contributors-sunny923","plugin_committers-sunny923"],"banners":{"banner":"https:\/\/ps.w.org\/postviews-insights\/assets\/banner-772x250.png?rev=3202893","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/postviews-insights\/assets\/icon-256x256.png?rev=3202879","icon_2x":"https:\/\/ps.w.org\/postviews-insights\/assets\/icon-256x256.png?rev=3202879","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/postviews-insights\/assets\/screenshot-1.png?rev=3172856","caption":"Screenshot 1 is admin settings page where you can manage you settings"},{"src":"https:\/\/ps.w.org\/postviews-insights\/assets\/screenshot-2.png?rev=3171399","caption":"Secreenshot 2 displays the Views of posts in admin post table"}],"raw_content":"<!--section=description-->\n<p>A plugin to display post view insights and provide a shortcode to list posts based on view count.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/postviews-insights<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the <code>[post_view_list post_type=\"your_post_type\" order=\"ASC\" display=\"5\"]<\/code> shortcode in your posts or pages.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20customize%20the%20html%20output%3F'><h3>How do I customize the HTML output?<\/h3><\/dt>\n<dd><p>You can use the <code>pvin_custom_html<\/code> filter to customize the HTML output. Here\u2019s an example:<\/p>\n\n<pre><code>add_filter('pvin_custom_html', 'custom_pvi_html_output', 10, 2);\n\nfunction custom_pvi_html_output($output, $atts) {\n    $custom_output = '&lt;div class=\"custom-post-list\"&gt;' . $output . '&lt;\/div&gt;';\n    return $custom_output;\n}\n<\/code><\/pre><\/dd>\n\n<\/dl>","raw_excerpt":"Display post view insights and provide a shortcode to list posts based on view count.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/196664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=196664"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sunny923"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=196664"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=196664"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=196664"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=196664"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=196664"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=196664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}