{"id":7130,"date":"2019-04-18T08:29:51","date_gmt":"2019-04-18T08:29:51","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=7130"},"modified":"2019-12-04T08:18:19","modified_gmt":"2019-12-04T08:18:19","slug":"allow-amp-only-on-few-posts-or-pages","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/allow-amp-only-on-few-posts-or-pages\/","title":{"rendered":"Allow AMP only on few posts or pages?"},"content":{"rendered":"\n<p>In this scenario, if you have 1000 pages but if you want to show AMP only on few pages then follow this article. <\/p>\n\n\n\n<p><strong>Follow the simple steps:<\/strong><\/p>\n\n\n\n<p><strong><mark style=\"background-color: yellow\"> Step 1: <\/mark><\/strong> First go to WordPress admin area -&gt; AMP option panel -&gt; Settings -&gt; Click on General.<\/p>\n\n\n\n<p>\n\nIf you want AMP support for all your posts or pages then enable this option\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1017\" height=\"406\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/pages-past.png\" alt=\"\" class=\"wp-image-7164\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/pages-past.png 1017w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/pages-past-300x120.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/pages-past-768x307.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/pages-past-50x20.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/pages-past-60x24.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/pages-past-100x40.png 100w\" sizes=\"(max-width: 1017px) 100vw, 1017px\" \/><\/figure>\n\n\n\n<p><strong><mark style=\"background-color: yellow;\">Step 2:<\/mark><\/strong> If you want to show AMP only particular posts or pages then you can use this option.<\/p>\n\n\n\n<ul><li>You will find this option in the <strong>WordPress Dashboard<\/strong> -&gt; <strong>AMP Option Panel <\/strong>-&gt; <strong>Settings<\/strong> -&gt;<strong> Tools<\/strong><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"496\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/11\/Desktop-2019-11-28-18-32-13-1024x496.png\" alt=\"\" class=\"wp-image-15132\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/11\/Desktop-2019-11-28-18-32-13-1024x496.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/11\/Desktop-2019-11-28-18-32-13-300x145.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/11\/Desktop-2019-11-28-18-32-13-768x372.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/11\/Desktop-2019-11-28-18-32-13-50x24.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/11\/Desktop-2019-11-28-18-32-13-60x29.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/11\/Desktop-2019-11-28-18-32-13-100x48.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/11\/Desktop-2019-11-28-18-32-13.png 1222w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong><mark style=\"background-color: yellow;\">Step 3:<\/mark> Individual AMP Page (Bulk Edit):<\/strong>  In this section, we have two options show by default and hide by default. By default, this option is shown.<\/p>\n\n\n\n<p>you need to select the Hide by default option in Individual AMP page. it will hide all pages. In which pages you want to show AMP. <\/p>\n\n\n\n<p><strong><mark style=\"background-color: yellow;\">Step 4:<\/mark><\/strong> Once you select hide by default option in your all pages in right-hand side one option will be displayed<strong> show AMP for Current page. <\/strong>by default, hide option is selected. on which pages you want show AMP  select the show option.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"450\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/show-1024x450.png\" alt=\"\" class=\"wp-image-8374\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/show-1024x450.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/show-300x132.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/show-768x337.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/show-50x22.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/show-60x26.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/show-100x44.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/show.png 1343w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p> <strong><mark style=\"background-color: yellow;\">Step 5:<\/mark><\/strong> On which page you want to Show AMP you need to select that show option.<\/p>\n\n\n\n<p>If you want to hide AMP by specify categories in posts check <a href=\"https:\/\/ampforwp.com\/tutorials\/article\/exclude-amp-specific-categories\/\">this link.<\/a> <\/p>\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\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/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>In this scenario, if you have 1000 pages but if you want to show AMP only on few pages then follow this article. Follow the simple steps: Step 1: First go to WordPress admin area -&gt; AMP option panel -&gt; Settings -&gt; Click on General. If you want AMP support&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[84],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/7130"}],"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=7130"}],"version-history":[{"count":40,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/7130\/revisions"}],"predecessor-version":[{"id":15198,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/7130\/revisions\/15198"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=7130"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=7130"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=7130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}