{"id":841,"date":"2016-11-17T08:10:04","date_gmt":"2016-11-17T08:10:04","guid":{"rendered":"https:\/\/ampforwp.com\/?p=841"},"modified":"2017-08-21T13:19:40","modified_gmt":"2017-08-21T13:19:40","slug":"exclude-page-post-amp","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/exclude-page-post-amp\/","title":{"rendered":"How to exclude a page or post from AMP?"},"content":{"rendered":"<p style=\"text-align: justify;\">The default AMP plugin\u00a0behavior is that it will display\u00a0all published posts and pages in Mobile friendly version. This will usually work fine for bloggers\/webmasters, but sometimes we might want to exclude Post and Page like about, contact, our team pages from the AMP. So, in this article, We will learn how to exclude certain posts\/pages from\u00a0AMP.<\/p>\n<p>First, make sure that you have AMP plugin&#8217;s activated on your website. If not then read<\/p>\n<p><a href=\"https:\/\/ampforwp.com\/amp-in-wordpress-beginners-guide\/\">Step-By-Step Guide to Implementing AMP on WordPress<\/a><\/p>\n<p><a href=\"https:\/\/ampforwp.com\/step-step-guide-insert-ads-post-content-amp\/\">Step-By-Step Guide for How to Insert ADS between post content in AMP<\/a><\/p>\n<p><a href=\"https:\/\/ampforwp.com\/guide-e-commerce-amp\/\">Guide to E-Commerce for AMP<\/a><\/p>\n<h3>Excluding specific posts and pages from AMP.<\/h3>\n<ul>\n<li>Open the page\/post you want to exclude.<\/li>\n<li>Click on Edit Page\/Post on Top of the page.<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-844 size-large\" src=\"https:\/\/ampforwp.com\/wp-content\/uploads\/2016\/11\/Edit-Post-AMP-1024x146.png\" alt=\"page or post\" width=\"1024\" height=\"146\" \/><\/p>\n<ul>\n<li>Scroll down below and select Hide option in &#8220;Show AMP for Current Page?&#8221; box, then Click Update<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-845 size-large\" src=\"https:\/\/ampforwp.com\/wp-content\/uploads\/2016\/11\/Hide-AMP-1024x262.png\" alt=\"page or post\" width=\"1024\" height=\"262\" \/><\/p>\n<p>If you have any questions, then let us know 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>The default AMP plugin\u00a0behavior is that it will display\u00a0all published posts and pages in Mobile friendly version. This will usually work fine for bloggers\/webmasters, but sometimes we might want to exclude Post and Page like about, contact, our team pages from the AMP. So, in this article, We will learn&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":[],"ht-kb-category":[34],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/841"}],"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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=841"}],"version-history":[{"count":1,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/841\/revisions"}],"predecessor-version":[{"id":3439,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/841\/revisions\/3439"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=841"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=841"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}