embedding Fundrazr.com javascript in a post (4 posts)

  1. Marco_Borselli
    Posted 2 years ago #

    Hi there,

    Has anybody ever managed to embed some javascript from Fundrazr.com in a wordpress post?

    I've tried several times but it doesn't work and I can't seem to find a plug in that could help me. I am trying to embed the following:

    <script>(function() {
    var d = document, fr = d.createElement('script'); fr.type = 'text/javascript'; fr.async = true;
    fr.src = ((d.location.protocol.indexOf('https') == 0)? 'https://s-' : 'http://') + 'static.fundrazr.com/widgets/loader.js';
    var s = d.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fr, s);

    I know nothing about javascript, so if anybody could write a solution for dummies I would be wordpressly grateful!

    Thank you!

  2. Steve
    Posted 2 years ago #

    I actually wrote Fundrazr support about this. They said that wordpress tends to strip javascript from source code before loading the page for a visitor.

    I don't know if that is true or not. But if Fundrazr is going to work in wordpress whatever the issue is had to be resolved.

    It's a pity. Fundrazr is a pretty sweet crowdfunding resource.

  3. WPyogi
    Forum Moderator
    Posted 2 years ago #

    You can use Javascript - you just have to use it properly - see:


    Did you try this plugin?


  4. Steve
    Posted 2 years ago #

    Thanks for the info. I am not actually using Fundrazr but the plugin info is really helpful.

    Hope Marco_B reads this.

Topic Closed

This topic has been closed to new replies.

About this Topic