Menu

My sales widget isn't working on my Wordpress site!

Are you trying to use our sales widget on your Wordpress site and finding that it's not working?


The sales widget does require javascript to work and, by default, script tags are blocked on Wordpress. But no need to worry as there's a quick-and-easy fix to this using a Wordpress plugin called Simple Custom CSS and JS...



Step 1. Once you've installed the plugin on your Wordpress site, find it in your list of plugins and select 'Settings'.




Step 2. Then select 'Add JS Code'.




Step 3. On the next page, replace '/* Your code goes here */' with the following script:


 

<script type="text/javascript">document.getElementById("thinkific-product-embed") || document.write('<script id="thinkific-product-embed" type="text/javascript" src="https://assets.thinkific.com/js/embeds/product-cards-client.min.js"><\/script>');</script>

 





Step 5. Leave all other settings as is and hit 'Publish'.


You've now installed the script required for the sales widget on all pages of your Wordpress site - when creating pages or posts you can simply paste the code for your widget into the 'Text' view and it should work just fine :)


Login to post a comment