Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi studytour

    First problem your embed code isn’t correct

    <script type="text/javascript" src="https://www.practicalmoneyskills.com/assets/js/calcs/embed.js" data-calc="save_million" data-locale="us_en"></script>

    This needs to be pasted into an HTML block – not sure if you have done that.
    It should then work.

    Thread Starter finanzkind

    (@studytour)

    hi, thanks , yes sure i paste the code to the HTML custumn block in WP gutenberg.
    the code is suggested to take from this web page https://www.practicalmoneyskills.com/resources/financial_calculators/family_and_life/save_million#void

    what is wrong in this code, please?

    Hi studytour

    The code in your first post has been corrupted.

    Please compare it to the code in my post which I took from the website page that you mentioned.

    If you copy the code in my post to the HTML block then it does work.

    Thread Starter finanzkind

    (@studytour)

    Hi, i put this code <script type=”text/javascript” src=”https://www.practicalmoneyskills.com/assets/js/calcs/embed.js&#8221; data-calc=”save_million” data-locale=”us_en”></script>

    doest work

    Assuming the code is correct then there may be another problem.

    Have you previously been able to run scripts in HTML Blocks ?

    There may be security restrictions in place preventing javascript from running or blocking links to external resources.

    Check the Network request is going out to practicalmoneyskills.com.

    Use the F12 (Developer Tools/Network) console on your browser when loading your webpage. What is the response status code ?

    You could check for security rules on plugins, Firewall and the webserver.

    Try a different browser.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HTML code’ is closed to new replies.