Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #268500

    sysprousa
    Participant

    Hi,

    I was wondering the procedure for implementing Javascript into the Sidebar. In this case I would like to put an external form in the sidebar area.

    <script src=”//app-abb.marketo.com/js/forms2/js/forms2.min.js”></script>
    <form id=”mktoForm_556″></form>
    <script>MktoForms2.loadForm(“//app-abb.marketo.com”, “052-TXM-739”, 556);</script>

    Is this something I can do in the Custom Javascript area, or do I need to edit the Child Theme PHP?

    Right now I have an HTMl iFrame active and would like to update it to a Javascript form. Thank you.

    #268501

    sysprousa
    Participant
    This reply has been marked as private.
    #268694

    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    You can add that through text widget at your sidebar. Unless, if you wish to add it aside from sidebar too, then the instruction will be different 🙂

    Thanks

    #269096

    sysprousa
    Participant

    Thank you for the response! I tried putting it through a widget on the sidebar, but its full functionality was limited.

    I am willing to try to place it else where, which is why I am expecting it to be a bit more complicated.

    #269211

    Zeshan
    Member

    Hi there,

    In that case, you could use a 3rd party plugin such as this: https://wordpress.org/plugins/html-javascript-adder/ However, we cannot guarantee the compatibility of a 3rd party plugin as we do not support them.

    Thanks!