{"id":17504,"date":"2020-06-27T12:50:13","date_gmt":"2020-06-27T12:50:13","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=17504"},"modified":"2020-06-27T12:53:01","modified_gmt":"2020-06-27T12:53:01","slug":"how-to-integrate-wp-postviews-with-amp","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-integrate-wp-postviews-with-amp\/","title":{"rendered":"How to integrate WP-PostViews with AMP"},"content":{"rendered":"\n<p><strong>Post Views<\/strong>&nbsp;are 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>You can integrate <a href=\"https:\/\/wordpress.org\/plugins\/wp-postviews\/\">WP-PostViews<\/a> for WordPress integration in AMP with the help of an extension called <a href=\"https:\/\/ampforwp.com\/addons\/postviews-for-amp\/\">Post Views for AMP<\/a> <\/p>\n\n\n\n<p><strong>Here are the steps:<\/strong><\/p>\n\n\n\n<ol><li>First, you need to purchase and install\u00a0the <a href=\"https:\/\/ampforwp.com\/addons\/postviews-for-amp\/\">Post Views for AMP<\/a> plugin. <\/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&nbsp;are 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":[34],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17504"}],"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=17504"}],"version-history":[{"count":3,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17504\/revisions"}],"predecessor-version":[{"id":17507,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17504\/revisions\/17507"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=17504"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=17504"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=17504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}