• https://www.structuremag.org/

    On the right hand side of this page there is a rotating ad banner under ‘Marketplace’.

    I cannot determine where the widget is pulling code from to edit the ads. When I go into the sidebar widget there is the following code:

    <layer id=”placeholderlayer”></layer><div id=”placeholderdiv”></div>

    I am not a programmer, I am just trying to edit these ads, as our web guy is unexpectedly no longer with us. Please help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    The ads are injected using JavaScript into that div with id=”placehholderdiv”.

    The JavaScript Code that is responsible for this is injected into the header of your site. Now it’s difficult to say, where your web guy did write that code. You can look into your theme’s header.php file ( can be found in wp-content/themes/THEME-NAME/header.php ) or take a look into wp-content/themes/THEME-NAME/functions.php . Here’s to what the code resembles : https://puu.sh/vCce9/a303190337.png .

    Thread Starter gwynthfair

    (@gwynthfair)

    I found it in the header.php. Thank you so much! This is a very annoying way of doing things. I wish he hadn’t done it this way! Very grateful for your help!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where is this widget pulling code from?’ is closed to new replies.