Installing Swoop Code After the tag

  • raquellynn18

    #8328

    I am trying to install the following code on my site –

    <!-- +SWOOP -->
    <script type="text/javascript"
    src="http://ardrone.swoop.com/js/spxw.js"
    data-domain="SW-74152728-42793"
    data-serverbase="http://ardrone.swoop.com/">
    </script>
    <!-- -SWOOP -->

    Instructions say “Copy the entire code snippet above and paste so that it shows in your HTML pages. For the fastest page load time, we recommend inserting the snippet after the </BODY> tag but Swoop will work no matter where in the page you insert the snippet.”

    I am unsure of where to put the code – I thought I put in the right spot but after several tries, I have been unsuccessful.

    My site is http://www.horsesandheels.com

    Chris

    #40912

    One way is to go to Graphene options and then go to the ‘Advanced’ tab. Go to ‘Action Hooks Widget Areas,’ and then select a place that you would like for the script to be, and then save you choice.

    After you’ve done this, you go to your Widgets and you will see a widget that has been created in which you can place your script.

    If you have a child theme with a functions.php file, there are other ways to do it, but this is a simple way if you do not have a child theme.

    Mod

    Kenneth John Odle

    #40913

    Put code in between backtick (

    Code:
    `

    ) characters. It’s usually located above the Tab key on your keyboard. I have corrected this for you.

    raquellynn18

    #40914

    Thanks for the help Chris, it worked like a charm. And, Kenneth I will be sure to be more mindful of that in the future. I’m all set & have finally resolved this!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.