shopstyle collective widget in post
-
Hi, I am trying to insert a widget showing a collection of dresses with links/prices I compiled using shopstyle collective. When I post the code in the html editor section, it does not work. Here is the code I am trying to post.
<!– SHOPSTYLE COLLECTIVE WIDGET CODE START –> <div class=”shopsense-widget” data-options=”%7B%22widgetId%22%3A%2257d72c17454044e710cddaec%22%2C%22version%22%3A1%2C%22pid%22%3A%22uid5684-35659178-23%22%2C%22size%22%3A200%2C%22columns%22%3A3%2C%22rows%22%3A1%2C%22url%22%3A%22https%3A%2F%2Fapi.shopstyle.com%2Fapi%2Fv2%22%2C%22iframeHeight%22%3A275%2C%22iframeWidth%22%3A705%7D”> <script> !function(doc,s,id){ var e, p, cb; if(!doc.getElementById(id)) { e = doc.createElement(s); e.id = id; cb = new Date().getTime().toString(); p = ‘//shopsensewidget.shopstyle.com/widget-script.js?cb=1474051445123?cb=’ + cb; e.src = p; doc.body.appendChild(e); } if(typeof window.ss_shopsense === ‘object’){ if(doc.readyState === ‘complete’){ window.ss_shopsense.init(); } } }(document, ‘script’, ‘shopsensewidget-script’); </script> <iframe src=”//shopsensewidget.shopstyle.com/#/?options=%7B%22widgetId%22%3A%2257d72c17454044e710cddaec%22%2C%22version%22%3A1%2C%22pid%22%3A%22uid5684-35659178-23%22%2C%22size%22%3A200%2C%22columns%22%3A3%2C%22rows%22%3A1%2C%22url%22%3A%22https%3A%2F%2Fapi.shopstyle.com%2Fapi%2Fv2%22%2C%22iframeHeight%22%3A275%2C%22iframeWidth%22%3A705%7D”
height=”275px”
width=”705px”
seamless style=”border: 0;”>
</iframe> </div> <!– SHOPSTYLE COLLECTIVE WIDGET CODE END –>thank you in advance for your help!
The blog I need help with is: (visible only to logged in users)
-
The instructions for embedding the widget into WordPress, might be tailored for the WordPress.org version of WordPress.
Sites hosted here a WordPress.com use a different version of WordPress than those hosted elsewhere using the WordPress.org version.
See WordPress.com and WordPress.org – https://en.support.wordpress.com/com-vs-org/
If your code uses codes such as embed, frame, iframe, form, input, object, textarea and others, those codes are not allowed on WordPress.com for security reasons.
See: https://en.support.wordpress.com/code/Troubleshooting embed codes:
https://en.support.wordpress.com/troubleshooting-embed-links-and-shortcodes/Since your code uses some of the forbidden code, you might see if the shopstyle collective offers any alternatives.
- The topic ‘shopstyle collective widget in post’ is closed to new replies.