• Hi there–

    I working with a company called Wishabi (a maker of online circulars). They recently provided me with a Javascript code to place into the text portion of the circular page I created on WordPress. I’ve pasted the code into the page and nothing is happening. I contacted Wishabi tech support and they tell me that WP is conflicting with the code and to contact WP. Can someone please help???

    Thanks,
    Nikki

    The code:

    <div id='circ-container'></div>
    
    <script src="https://www.circularhub.com/distribution_services/iframe.js"
    
    type="text/javascript"></script>
    
    <script>
    
    var pageSizing = 'WINDOW';
    
    var minHeight = 550;
    
    var initialHeight = 1000;
    
    var extraPadding = 70;
    
    var queryParameters = '';
    
    new wishabi.distributionservices.iframe.decorate(
    
    'circ-container', /* This is the div created above */
    
    'berkeleyobserver', /* Your name identifier */
    
    wishabi.distributionservices.iframe.Sizing[pageSizing],
    
    {
    
    minHeight: minHeight,
    
    initialHeight: initialHeight,
    
    extraPadding: extraPadding,
    
    queryParameters: queryParameters
    
    });
    
    </script>

    ALSO…THIS IS THE EMAIL WISHABI SENT ME TODAY:

    Hi Nikki,
    Looks like you will need to loop in with the Word Press experts to help you inject the JavaScript code to the berkeleyobserver.com. As Kirill discovered, the Wishabi JavaScript code is being “commented out” by Word Press, resulting in the blank page that we saw.

    Here is a Bluehost CNAME help page that sheds further light on setting up a CNAME – one suggestion is to exclude the “www” from the “Points To” field. Kirill will continue to ping the subdomain, and will alert us when he sees that it goes live (may take up to 24 hours).

    In the meantime, we recommend that you remove the Modules from the homepage as right now the user experience is broken.

    Please let us know once you’ve looped in with the Word Press team, and the results of your meeting with them.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Javascript code not working’ is closed to new replies.