{"id":5533,"date":"2026-10-25T11:27:28","date_gmt":"2026-10-25T11:27:28","guid":{"rendered":"https:\/\/docs.redsun.design\/makai\/?page_id=5533"},"modified":"2026-10-25T13:47:52","modified_gmt":"2026-10-25T13:47:52","slug":"discount-code-box","status":"publish","type":"page","link":"https:\/\/docs.redsun.design\/makai\/discount-code-box\/","title":{"rendered":"Discount Code Box"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\" style=\"font-size:22px\">Promote a partner with a sponsored box and a discount code your readers can copy with one click.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"511\" src=\"https:\/\/docs.redsun.design\/makai\/wp-content\/uploads\/sites\/4\/2026\/10\/Screenshot-2026-10-25-at-14.47.19-1024x511.png\" alt=\"\" class=\"wp-image-5551\" srcset=\"https:\/\/docs.redsun.design\/makai\/wp-content\/uploads\/sites\/4\/2026\/10\/Screenshot-2026-10-25-at-14.47.19-1024x511.png 1024w, https:\/\/docs.redsun.design\/makai\/wp-content\/uploads\/sites\/4\/2026\/10\/Screenshot-2026-10-25-at-14.47.19-300x150.png 300w, https:\/\/docs.redsun.design\/makai\/wp-content\/uploads\/sites\/4\/2026\/10\/Screenshot-2026-10-25-at-14.47.19-768x384.png 768w, https:\/\/docs.redsun.design\/makai\/wp-content\/uploads\/sites\/4\/2026\/10\/Screenshot-2026-10-25-at-14.47.19-1536x767.png 1536w, https:\/\/docs.redsun.design\/makai\/wp-content\/uploads\/sites\/4\/2026\/10\/Screenshot-2026-10-25-at-14.47.19.png 1586w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Adding the Discount Code Box<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open a post or page and click the <strong>+<\/strong> button in the top toolbar.<\/li>\n\n\n\n<li>Switch to the <strong>Patterns<\/strong> tab and choose <strong>Makai<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Discount code box<\/strong> to insert it.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">On phones, the Copy code button moves under the code and fills the width. The pattern is copied into your post, so your changes never affect other posts.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Editing the Box<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Sponsored label:<\/strong> The small black label at the top. Keep it on paid partnerships so readers can see right away that the box is sponsored. You can change the word, for example to \u201cAd.\u201d<\/li>\n\n\n\n<li><strong>Partner logo:<\/strong> Click the logo and choose <strong>Replace<\/strong>. Wide logos with a transparent background work best, for example a 240 \u00d7 60 px PNG.<\/li>\n\n\n\n<li><strong>Title and text:<\/strong> A short headline and a sentence or two about why you use the product.<\/li>\n\n\n\n<li><strong>Offer:<\/strong> The small line above the code, such as \u201c10% off your first eSIM.\u201d<\/li>\n\n\n\n<li><strong>Code:<\/strong> Type your discount code exactly as readers should enter it. The Copy code button copies exactly what\u2019s written here.<\/li>\n\n\n\n<li><strong>Note:<\/strong> The line at the bottom says the box is a paid partnership. Keep it, or replace it with your own disclosure.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Linking to the Partner<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The logo links to your partner\u2019s website:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click the logo and then the link icon in the image toolbar.<\/li>\n\n\n\n<li>Enter the partner\u2019s address.<\/li>\n\n\n\n<li>In the link settings, enter <code>sponsored nofollow<\/code> in the <strong>Link rel<\/strong> field. The pattern sets this for you.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">The Copy Code Button<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Clicking <strong>Copy code<\/strong> copies the code to the reader\u2019s clipboard, and the button shows \u201cCopied!\u201d for two seconds. You can change the button text, but the button doesn\u2019t need a link.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The copying only works on your site, not inside the editor. To test it, preview or view your post and paste the code somewhere.<\/p>\n","protected":false},"excerpt":{"rendered":"Promote a partner with a sponsored box and a discount code your readers can copy with one click. Adding the Discount Code Box Open a post or page and click ...","protected":false},"author":5,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5533","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/docs.redsun.design\/makai\/wp-json\/wp\/v2\/pages\/5533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.redsun.design\/makai\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.redsun.design\/makai\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.redsun.design\/makai\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.redsun.design\/makai\/wp-json\/wp\/v2\/comments?post=5533"}],"version-history":[{"count":2,"href":"https:\/\/docs.redsun.design\/makai\/wp-json\/wp\/v2\/pages\/5533\/revisions"}],"predecessor-version":[{"id":5552,"href":"https:\/\/docs.redsun.design\/makai\/wp-json\/wp\/v2\/pages\/5533\/revisions\/5552"}],"wp:attachment":[{"href":"https:\/\/docs.redsun.design\/makai\/wp-json\/wp\/v2\/media?parent=5533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}