Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1364999
    jchurch7
    Participant

    Hello,

    I am unable to figure this out following other answers. I have downloaded the x child theme and attempted to add in javascript to the functions.php file using code found within the support center with no success.

    I have two sets of jscript to add to make the iFrame on our Careers page work. The instructions I received for implementing the iFrame script are as follows:

    1 – Add in the iFrame wherever you want the content to go on your careers page.
    (I added it on that page using the RAW content)

    2 – In the header, add the pointer to the jscript file:

    <script type=”text/javascript” src=”http://barrels.mycompas.com/corp/consol_careers/dyniframe2.js”></script&gt;

    3 – Add an onload directly after the body tag:

    <script type=”text/javascript”> window.onload=function(){getreq()}; </script>

    I appreciate any direction in getting this code to the proper location within the xtheme child.

    My site is: http://www.independentstavecompany.com
    WP version: 4.5.3
    X Theme: 4.6.4

    Thank you for your help!

    #1365438
    Rupok
    Member

    Hi there,

    Thanks for writing in! Let’s follow this to add script to header – https://community.theme.co/forums/topic/add-tracking-code-to-header/#post-776299

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1364999 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>