{"id":17466,"date":"2020-06-15T13:50:17","date_gmt":"2020-06-15T13:50:17","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=17466"},"modified":"2020-06-18T12:11:50","modified_gmt":"2020-06-18T12:11:50","slug":"how-to-enable-post-views-for-amp-support-in-amp","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-enable-post-views-for-amp-support-in-amp\/","title":{"rendered":"How to enable post views for amp support in AMP"},"content":{"rendered":"\n<p><strong>Post Views<\/strong>\u00a0are used to display how many times a post, the page had been viewed in a reliable manner. With the help of Our Post Views for AMP Extension, you can render the Post Views on your WordPress site in the AMP Version. It will render the count on all of your Posts\/Pages in the AMP version.<\/p>\n\n\n\n<p> First, you need to purchase and install\u00a0the <a href=\"https:\/\/ampforwp.com\/addons\/postviews-for-amp\/\">Post Views for AMP<\/a> plugin.<\/p>\n\n\n\n<p><strong>Here are the steps:<\/strong><\/p>\n\n\n\n<ol><li>Download and Install\u00a0 <a href=\"https:\/\/ampforwp.com\/addons\/postviews-for-amp\/\">Post Views for AMP<\/a>.<\/li><li>Upload and Activate<\/li><li>Done! The Post Views for AMP will be visible on the AMP version of your site.<\/li><\/ol>\n\n\n\n<p>Once you activate our extension it will automatically add the AMP compatibility.<\/p>\n\n\n\n<h4>The Output of the Post Views for AMP<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"459\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/download-1536x688-1-1024x459.png\" alt=\"\" class=\"wp-image-17479\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/download-1536x688-1-1024x459.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/download-1536x688-1-300x134.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/download-1536x688-1-768x344.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/download-1536x688-1-50x22.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/download-1536x688-1-60x27.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/download-1536x688-1-100x45.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/06\/download-1536x688-1.png 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.<\/p>\n<div id=\"div-1\" class=\"hkb-feedback\">\n\t\t\t<strong class=\"ht-mobile-exit__title\">Ask your Questions Directly!<\/strong><br>\n\t\t\t<div class=\"hkb_widget_exit__content\" style=\"font-size: 14px;\">If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!<\/div>\n\t\t\t<a href=\"https:\/\/ampforwp.com\/support\/#contact\" id=\"button\" target=\"_blank\" rel=\"noopener noreferrer\"><button>Yes, I have a Question<\/button><\/a>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Post Views\u00a0are used to display how many times a post, the page had been viewed in a reliable manner. With the help of Our Post Views for AMP Extension, you can render the Post Views on your WordPress site in the AMP Version. It will render the count on all&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[190],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17466"}],"collection":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=17466"}],"version-history":[{"count":4,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17466\/revisions"}],"predecessor-version":[{"id":17481,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17466\/revisions\/17481"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=17466"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=17466"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=17466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}