{"id":3961,"date":"2017-09-17T13:14:21","date_gmt":"2017-09-17T13:14:21","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=3961"},"modified":"2019-05-07T12:10:08","modified_gmt":"2019-05-07T12:10:08","slug":"widgets-in-amp","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/widgets-in-amp\/","title":{"rendered":"Widgets in AMP"},"content":{"rendered":"<h3>Widget Modules<\/h3>\n<p>There are 4 Widgets modules available at the moment.<\/p>\n<ol>\n<li>AMP Blurb Module<\/li>\n<li>AMP Button Module<\/li>\n<li>AMP Categories Module<\/li>\n<li>AMP Text Module<\/li>\n<\/ol>\n<p><a href=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-modules.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3963\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-modules.png\" alt=\"widget module\" width=\"1353\" height=\"678\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-modules.png 1353w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-modules-300x150.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-modules-768x385.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-modules-1024x513.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-modules-50x25.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-modules-60x30.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-modules-100x50.png 100w\" sizes=\"(max-width: 1353px) 100vw, 1353px\" \/><\/a><\/p>\n<h3>Widget Areas<\/h3>\n<ol>\n<li>AMP Above Loop<\/li>\n<li>AMP Below Loop<\/li>\n<li>Page Builder (AMP)<\/li>\n<\/ol>\n<p><a href=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widget-Areas.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3962\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widget-Areas.png\" alt=\"widget areas\" width=\"1359\" height=\"676\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widget-Areas.png 1359w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widget-Areas-300x149.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widget-Areas-768x382.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widget-Areas-1024x509.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widget-Areas-50x25.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widget-Areas-60x30.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widget-Areas-100x50.png 100w\" sizes=\"(max-width: 1359px) 100vw, 1359px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h4>AMP Above Loop<\/h4>\n<p>This Widget Area is used to add Widget Modules above the loop of Homepage of AMP.<\/p>\n<p>You can use it on Custom Frontpage as well.<\/p>\n<p>Add the widget module of your choice here and you can see that widget above the content of your Homepage.<\/p>\n<p><a href=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-with-widget.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3965\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-with-widget.png\" alt=\"AMP above loop\" width=\"1348\" height=\"683\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-with-widget.png 1348w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-with-widget-300x152.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-with-widget-768x389.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-with-widget-1024x519.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-with-widget-50x25.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-with-widget-60x30.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-with-widget-100x51.png 100w\" sizes=\"(max-width: 1348px) 100vw, 1348px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3964\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop.png\" alt=\"\" width=\"1365\" height=\"600\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop.png 1365w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-300x132.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-768x338.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-1024x450.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-50x22.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-60x26.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/AMP-Above-Loop-100x44.png 100w\" sizes=\"(max-width: 1365px) 100vw, 1365px\" \/><\/a><\/p>\n<h4>AMP Below Loop<\/h4>\n<p>It is same as AMP Above Loop but will add the widgets below the Homepage content or say Loop.<\/p>\n<p><a href=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-below-loop.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3967\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-below-loop.png\" alt=\"AMP below loop\" width=\"1347\" height=\"673\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-below-loop.png 1347w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-below-loop-300x150.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-below-loop-768x384.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-below-loop-1024x512.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-below-loop-50x25.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-below-loop-60x30.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Widgets-below-loop-100x50.png 100w\" sizes=\"(max-width: 1347px) 100vw, 1347px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Home-below-loop.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3968\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Home-below-loop.png\" alt=\"AMP below loop\" width=\"1338\" height=\"683\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Home-below-loop.png 1338w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Home-below-loop-300x153.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Home-below-loop-768x392.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Home-below-loop-1024x523.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Home-below-loop-50x26.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Home-below-loop-60x31.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Home-below-loop-100x51.png 100w\" sizes=\"(max-width: 1338px) 100vw, 1338px\" \/><\/a><\/p>\n<h4>Page Builder (AMP)<\/h4>\n<p>This is different than the above two in terms of outputting the widgets.<\/p>\n<p>This can be applied to all the pages including Homepage.<\/p>\n<h5>How to use it?<\/h5>\n<p>Follow the below steps to make it work.<\/p>\n<h5>1: Add the widgets<\/h5>\n<p>Add the widgets from the above 4 widgets modules in this area.<\/p>\n<p><a href=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3970\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP.png\" alt=\"Add the widgets\" width=\"1355\" height=\"677\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP.png 1355w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-300x150.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-768x384.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-1024x512.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-50x25.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-60x30.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-100x50.png 100w\" sizes=\"(max-width: 1355px) 100vw, 1355px\" \/><\/a><\/p>\n<h5>2: Apply it to the Page<\/h5>\n<p>Edit the page where you want to show these widgets and select Page Builder (AMP) from the meta box which is present at the right side.<\/p>\n<p><a href=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-metabox.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3971\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-metabox.png\" alt=\"Apply to the page\" width=\"1350\" height=\"670\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-metabox.png 1350w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-metabox-300x149.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-metabox-768x381.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-metabox-1024x508.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-metabox-50x25.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-metabox-60x30.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-metabox-100x50.png 100w\" sizes=\"(max-width: 1350px) 100vw, 1350px\" \/><\/a><\/p>\n<h5>3: Output<\/h5>\n<p>Now you can see the output by visiting the AMP version of that page.<\/p>\n<p><a href=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-page.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3972\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-page.png\" alt=\"Output\" width=\"512\" height=\"562\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-page.png 512w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-page-273x300.png 273w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-page-46x50.png 46w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-page-55x60.png 55w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2017\/09\/Page-builder-AMP-page-91x100.png 91w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/a><\/p>\n<h3>Important Notes<\/h3>\n<p>1: AMP Above Loop and AMP Below Loop are not sitewide, they are only for the Homepage or Custom Frontpage.<\/p>\n<p>2: Page Builder (AMP) will override the normal AMP content of that page i.e., unlike the above two you can&#8217;t use it with your existing loop or content, you can only override the whole content.<\/p>\n<p>If you want to use the existing content as well, use the text module and add that content in it.<\/p>\n<p>3: There is no different Page Builder(AMP) area for different pages. Right now you can use only one Page Builder AMP.<\/p>\n<p>4: You can apply the Page Builder (AMP) to many pages as you want but all of them will be same. So it&#8217;s better to use it only on Landing pages, but again there&#8217;s&nbsp;no restriction on it.<\/p>\n<p><strong>That&#8217;s it for this tutorial!<\/strong><\/p>\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>Widget Modules There are 4 Widgets modules available at the moment. AMP Blurb Module AMP Button Module AMP Categories Module AMP Text Module Widget Areas AMP Above Loop AMP Below Loop Page Builder (AMP) &nbsp; AMP Above Loop This Widget Area is used to add Widget Modules above the loop&#8230;<\/p>\n","protected":false},"author":5,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[85],"ht-kb-tag":[31,110],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/3961"}],"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\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=3961"}],"version-history":[{"count":6,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/3961\/revisions"}],"predecessor-version":[{"id":9355,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/3961\/revisions\/9355"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=3961"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=3961"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=3961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}