Embedding a Gifts That Give Registry

Incase you wish to embed your Gifts That Give registry into another website, we have two ways for you.   

1. Blogger, Wix, Other (HTML)

You can find the embed code by going to https://giftsthatgive.in/registry/your-registry-name/embed.    Press the share icon and select 'HTML embed'.   Paste that code into the website.    The code will look something like this: 

<blockquote class="wp-embedded-content"><a href="https://giftsthatgive.in/registry/jaiveers-12th-birthday">Jaiveer&#8217;s 12th Birthday</a></blockquote>
<script type='text/javascript'>
<!--//--><![CDATA[//><!--
/*! This file is auto-generated */
!function(c,d){"use strict";var e=!1,n=!1;if(d.querySelector)if(c.addEventListener)e=!0;if(c.wp=c.wp||{},!c.wp.receiveEmbedMessage)if(c.wp.receiveEmbedMessage=function(e){var t=e.data;if(t)if(t.secret||t.message||t.value)if(!/[^a-zA-Z0-9]/.test(t.secret)){for(var r,a,i,s=d.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),n=d.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),o=0;o<n.length;o++)n[o].style.display="none";for(o=0;o<s.length;o++)if(r=s[o],e.source===r.contentWindow){if(r.removeAttribute("style"),"height"===t.message){if(1e3<(i=parseInt(t.value,10)))i=1e3;else if(~~i<200)i=200;r.height=i}if("link"===t.message)if(a=d.createElement("a"),i=d.createElement("a"),a.href=r.getAttribute("src"),i.href=t.value,i.host===a.host)if(d.activeElement===r)c.top.location.href=t.value}}},e)c.addEventListener("message",c.wp.receiveEmbedMessage,!1),d.addEventListener("DOMContentLoaded",t,!1),c.addEventListener("load",t,!1);function t(){if(!n){n=!0;for(var e,t,r=-1!==navigator.appVersion.indexOf("MSIE 10"),a=!!navigator.userAgent.match(/Trident.*rv:11\./),i=d.querySelectorAll("iframe.wp-embedded-content"),s=0;s<i.length;s++){if(!(e=i[s]).getAttribute("data-secret"))t=Math.random().toString(36).substr(2,10),e.src+="#?secret="+t,e.setAttribute("data-secret",t);if(r||a)(t=e.cloneNode(!0)).removeAttribute("security"),e.parentNode.replaceChild(t,e)}}}}(window,document);
//--><!]]>
</script><iframe sandbox="allow-scripts" security="restricted" src="https://giftsthatgive.in/registry/jaiveers-12th-birthday/embed" width="600" height="400" title="&#8220;Jaiveer&#8217;s 12th Birthday&#8221; &#8212; Gifts That Give" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe>

2. WordPress

Gifts That Give's wordpress integration allows you to easily add your registry to your website.   Go to https://giftsthatgive.in/registry/your-registry-name/embed and then press the share icon, WordPress embed and then paste that into your WordPress editor and hit return.     It'll then appear without you needing to handle all the HTML.  

Example of the URL to paste:

https://giftsthatgive.in/registry/your-registry-name/embed.

3. Manual

Incase you want to have some more features, submit a ticket.     We do not support payments on an external website so users will be redirected to Gifts that Give and will pay there.    We are looking at having the donate button on an external website which will then redirect to Gifts That Give secure checkout.    

Article Details

Article ID:
15
Date added:
2021-04-22 02:56:40
Views:
13
Rating (Votes):
(0)

Related articles