Javascript code

  • Unknown's avatar

    Hello!

    I am running the wordpress built website http://www.no14plusminus.ro
    I received an offer to post a few banners on the website but I did not manage to make them work.
    Is there any way I can embed the following code into a widget?

    The code i have received is the following:
    (if this is not possible, please advise if a different synthax should be used)

    <!– BEGIN TAG – DO NOT MODIFY –>
    <script type=”text/javascript”>
    //<![CDATA[
    epom_key = “21e7be1293338163f195b741fb345b1f”;
    epom_channel = “”;
    epom_code_format = “ads-sync.js”;
    epom_ads_host = “//www.adshost2.com”;
    epom_click = “”;
    epom_custom_params = {};

    document.write(“<script type=’text/javascript’ src='”+(location.protocol == ‘https:’ ? ‘https:’ : ‘http:’) + “//www.adshost2.com/js/show_ads.js’></script>”);
    //]]>
    </script>
    <!– END TAG –>

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there,

    That would not be possible on WordPress.com. We don’t allow Javascript for security reasons. You can find accepted code in this support guide:

    Add Code to Your Site

    Also as far as advertising goes, please view this guide:

    http://en.support.wordpress.com/advertising/

    Feel free to reach out if you have any questions!

  • Unknown's avatar

    Hey there!

    Thank you so much for the response. I have studied the links you sent and I think it’s time I migrated to WordPress.org. I just need to figure out everything.

    Have a great day and thank you for your support!

  • Unknown's avatar

    Sounds great!

    Happy Blogging :D

  • The topic ‘Javascript code’ is closed to new replies.