PLEASE assistance with header script?

[ad_1]

Hi all, I am building a site and want to use a header script to allow me to embed an object from another site into my pages. I’ve tried using both “WPCode” and “insert script in headers” plugins. This is what I currently have in the plug-in right now in image 1. It is a direct copy and paste of the text I was told to add to header.

Image 2 is a picture of one of the pages itself. The script that is supposed to be added to the header should take the line of text at the bottom of that page and replace it with an interactive deck list. I had someone test this just today and they said it worked just fine for them, but they were using python and not experienced enough with WordPress to help.

Should I be able to visually see something in the header if the script is working? Or is it behind the scenes? Maybe my template is blocking it?

I feel like this is a really simple fix but I’ve been bashing my head against a wall for days trying to solve this.

[ad_2]
5 Comments
  1. Press f12 for DevTools and then click on the Console. Any JS errors will show there, can you add a screenshot of that?

  2. Try changing http:// to https://

    It won’t load a script from an insecure host from a secure one.

  3. Div class deck list that html code is currently printed in text.

    If you are using block use custom html and that div tag in custom html

    Try this hope it works.

  4. It looks like you are trying to load another sites script in your page? It won’t actually do anything, that script isn’t a plugin or anything, it’s just needed to run the tappedout site. What are you trying to achieve? I think you have the wrong js file.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer