{"id":134,"date":"2019-05-27T07:47:33","date_gmt":"2019-05-27T07:47:33","guid":{"rendered":"http:\/\/adsforwp.com\/docs\/?post_type=ht_kb&#038;p=134"},"modified":"2019-09-16T10:17:01","modified_gmt":"2019-09-16T10:17:01","slug":"how-to-add-sticky-ads-in-wordpress-amp","status":"publish","type":"ht_kb","link":"https:\/\/adsforwp.com\/docs\/article\/how-to-add-sticky-ads-in-wordpress-amp\/","title":{"rendered":"How to add sticky ads in WordPress &#038; AMP"},"content":{"rendered":"<p><b>Sticky ads<\/b>\u00a0are mobile\u00a0<b>ads<\/b> which stay afloat and always visible to website visitors even while scrolling the page content. You can see the bottom <b>sticky ads <\/b>of our advertiser Unilever. The\u00a0<b>sticky ad<\/b>\u00a0will be visible all the time while you scroll the page content.<\/p>\n<p><strong>Follow these steps to add Sticky ads:<\/strong><\/p>\n<p>You can download\u00a0<strong>ADSforWP<\/strong>\u00a0Plugin from\u00a0<a href=\"https:\/\/wordpress.org\/plugins\/ads-for-wp\/\">here.<\/a><\/p>\n<p><strong>Step 1:<\/strong>\u00a0After installing this plugin Ads option will be displayed on the\u00a0<strong>WordPress dashboard<\/strong>\u00a0-&gt;<strong>Ads Option<\/strong>\u00a0-&gt;\u00a0<strong>create new Ads.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-138\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/5.png\" alt=\"\" width=\"1055\" height=\"530\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/5.png 1055w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/5-300x151.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/5-768x386.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/5-1024x514.png 1024w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/5-50x25.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/5-60x30.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/5-100x50.png 100w\" sizes=\"auto, (max-width: 1055px) 100vw, 1055px\" \/><\/p>\n<p><strong>Step 2:<\/strong> In Ad Type, you need to Select the Image Banner Ad Option.<\/p>\n<p><strong>Step 3:<\/strong> If you click on the\u00a0<strong>Upload image<\/strong> button, WordPress media uploader popup window will appear. In this window, you can choose one of the previously uploaded images or upload a new one.<\/p>\n<p><strong>Step 4:<\/strong> in this field enter Ad Anchor link.<\/p>\n<p><strong>Step 5:<\/strong> If you check this option sticky Ads will be displayed on any device.<\/p>\n<h4>Display<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-147\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/6-1.png\" alt=\"\" width=\"893\" height=\"204\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/6-1.png 893w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/6-1-300x69.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/6-1-768x175.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/6-1-50x11.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/6-1-60x14.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/6-1-100x23.png 100w\" sizes=\"auto, (max-width: 893px) 100vw, 893px\" \/><\/p>\n<ul>\n<li><strong>Display Type:<\/strong> In Display type, you\u2019ll see the number of display type which you need to select Sticky option.<\/li>\n<li><strong>Margin:\u00a0<\/strong>You can also set the margins of the ads as per your taste.<\/li>\n<li><strong>Embed Shortcode:<\/strong> Copy the shortcode and place where you want to display the Sticky Ads.<\/li>\n<\/ul>\n<h4 id=\"advanced-display-conditions\"><strong>Advanced Display Conditions<\/strong><\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-130\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/4.png\" alt=\"\" width=\"880\" height=\"229\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/4.png 880w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/4-300x78.png 300w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/4-768x200.png 768w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/4-50x13.png 50w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/4-60x16.png 60w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/4-100x26.png 100w\" sizes=\"auto, (max-width: 880px) 100vw, 880px\" \/><\/p>\n<ul>\n<li>In this section, you need to set the condition for the specific post or page or all posts where you want to show Sticky Ads.<\/li>\n<\/ul>\n<h4>The Output of sticky Ads<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-594 aligncenter\" src=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/4-1.png\" alt=\"\" width=\"236\" height=\"479\" srcset=\"https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/4-1.png 236w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/4-1-148x300.png 148w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/4-1-25x50.png 25w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/4-1-30x60.png 30w, https:\/\/adsforwp.com\/docs\/wp-content\/uploads\/2019\/05\/4-1-49x100.png 49w\" sizes=\"auto, (max-width: 236px) 100vw, 236px\" \/><\/p>\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n<p>We hope it helped you. If you have any feedback or questions or do you want us to create compatibility for any other Ad company which isn\u2019t listed in our plugin then you can request us we will surely implement it as soon as possible.<\/p>\n<p><strong>Just contact us\u00a0<a href=\"http:\/\/www.adsforwp.com\/contact\/\">here\u00a0<\/a>and we are always available for you.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sticky ads\u00a0are mobile\u00a0ads which stay afloat and always visible to website visitors even while scrolling the page content. You can see the bottom sticky ads of our advertiser Unilever. The\u00a0sticky ad\u00a0will be visible all the time while you scroll the page content. Follow these steps to add Sticky ads: You&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[18],"ht-kb-tag":[],"class_list":["post-134","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-how-to"],"_links":{"self":[{"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/comments?post=134"}],"version-history":[{"count":12,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/134\/revisions"}],"predecessor-version":[{"id":595,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/134\/revisions\/595"}],"wp:attachment":[{"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/media?parent=134"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=134"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/adsforwp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}