Title: Where is this widget pulling code from?
Last modified: May 2, 2017

---

# Where is this widget pulling code from?

 *  [gwynthfair](https://wordpress.org/support/users/gwynthfair/)
 * (@gwynthfair)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/where-is-this-widget-pulling-code-from/)
 * [http://www.structuremag.org/](http://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)

 *  [karimeo](https://wordpress.org/support/users/karimeo/)
 * (@karimeo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/where-is-this-widget-pulling-code-from/#post-9085915)
 * 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](https://puu.sh/vCce9/a303190337.png).
 *  Thread Starter [gwynthfair](https://wordpress.org/support/users/gwynthfair/)
 * (@gwynthfair)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/where-is-this-widget-pulling-code-from/#post-9085967)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [gwynthfair](https://wordpress.org/support/users/gwynthfair/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/where-is-this-widget-pulling-code-from/#post-9085967)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
