Title: Script not showing
Last modified: August 30, 2016

---

# Script not showing

 *  [stevieg](https://wordpress.org/support/users/stevieg/)
 * (@stevieg)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/script-not-showing/)
 * I’ve added an ad which runs a script and it’s not showing on the site even though
   the preview seems fine.
 * The ad has a script which runs in a Text widget just fine but when I try it in
   SAM I get the script but not the iframe that should appear.
 * If you look at [http://www.hysterectomy-association.org.uk/contact-us/](http://www.hysterectomy-association.org.uk/contact-us/)
   you can see the ad at the bottom of the sidebar. Looking at the code, the ad 
   that is visible appears(in a TEXT widget) immediately following a SAM widget 
   displaying the ad place.
 * So, given that the ad script is fine, what am I missing to get the ad to display?
 * [https://wordpress.org/plugins/simple-ads-manager/](https://wordpress.org/plugins/simple-ads-manager/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [minimus](https://wordpress.org/support/users/minimus/)
 * (@minimus)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/script-not-showing/#post-6527507)
 * Do you use script in Code Mode?
 *  [SteveieG](https://wordpress.org/support/users/steveieg/)
 * (@steveieg)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/script-not-showing/#post-6527535)
 * Hi. Yes its Code mode.
 *  Plugin Author [minimus](https://wordpress.org/support/users/minimus/)
 * (@minimus)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/script-not-showing/#post-6527539)
 * Hi!
    Try to insert the code as one continuous string without carriage returns…
 *  [SteveieG](https://wordpress.org/support/users/steveieg/)
 * (@steveieg)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/script-not-showing/#post-6527540)
 * Hi. It is already.
    `<script type="text/javascript" src="http://ap.lijit.com/
   www/delivery/fpi.js?z=301914&u=hysterectomy-association&width=300&height=250"
   ></script>`
 *  Plugin Author [minimus](https://wordpress.org/support/users/minimus/)
 * (@minimus)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/script-not-showing/#post-6527542)
 * I used your code – it works. On pages too.
 *  [SteveieG](https://wordpress.org/support/users/steveieg/)
 * (@steveieg)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/script-not-showing/#post-6527545)
 * OK. I will try and find the cause at my end. Cheers.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Script not showing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-ads-manager_73687f.svg)
 * [Simple Ads Manager](https://wordpress.org/plugins/simple-ads-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-ads-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-ads-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-ads-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-ads-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-ads-manager/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [SteveieG](https://wordpress.org/support/users/steveieg/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/script-not-showing/#post-6527545)
 * Status: not resolved