Title: script insert, can not find to delete script?
Last modified: August 31, 2016

---

# script insert, can not find to delete script?

 *  [ralfv](https://wordpress.org/support/users/ralfv/)
 * (@ralfv)
 * [10 years ago](https://wordpress.org/support/topic/script-insert-can-not-find-to-delete-script/)
 * hello,
 * hope someone can help me.
    I have inserted a javascript in my wordpress blog.
   it is a banner and it shows up on all my wordpress posts on the top and end of
   the post. I can not remember where I pasted the script in, looked in themes header.
   php, footer.php, but I can not find it.
 * Please help, in which file might the code be??
 * Friendly Regards,
 * Ralf

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

 *  [Bob Cristello](https://wordpress.org/support/users/gntmidnight/)
 * (@gntmidnight)
 * [10 years ago](https://wordpress.org/support/topic/script-insert-can-not-find-to-delete-script/#post-7386671)
 * you are probably looking for single.php in your theme.
 * Here is a breakdown of the theme template hierarchy that might help you:
 * [https://developer.wordpress.org/themes/basics/template-hierarchy/](https://developer.wordpress.org/themes/basics/template-hierarchy/)
 *  Thread Starter [ralfv](https://wordpress.org/support/users/ralfv/)
 * (@ralfv)
 * [10 years ago](https://wordpress.org/support/topic/script-insert-can-not-find-to-delete-script/#post-7386700)
 * Hello Bob,
 * thank you for your reply. I have just looked into single.php
    via ftp, but my
   javascript is not there. I want to remove this javascript from my page, but I
   can not find it, where I can delete it. I wan to remove the agoda banner on top
   and bottom of single posts, see example below:
 * Please can you have a quick look at the site, it would be appreciated.
 * Friendly Regards, Ralf
 * My website is: [http://www.natalriograndedonorte.com/brazilian-fruits/](http://www.natalriograndedonorte.com/brazilian-fruits/)
 * see script ( that I want to delete ) below::
 *     ```
       <div id="entries">
       <div class="entry post clearfix">
       <em><script type="text/javascript">
       agoda_ad_client = "1723778_12856";
       agoda_ad_width = 200;
       agoda_ad_height = 200;
       </script>
       <script type="text/javascript" src="//banner.agoda.com/js/show_ads.js"></script></em>
       ```
   
 *  [Bob Cristello](https://wordpress.org/support/users/gntmidnight/)
 * (@gntmidnight)
 * [10 years ago](https://wordpress.org/support/topic/script-insert-can-not-find-to-delete-script/#post-7386719)
 * Are you using the agoda affiliate plugin?
 *  Thread Starter [ralfv](https://wordpress.org/support/users/ralfv/)
 * (@ralfv)
 * [10 years ago](https://wordpress.org/support/topic/script-insert-can-not-find-to-delete-script/#post-7386720)
 * Hello Bob, thank you for your prompt reply.
    No, no agoda plugin is used.
 * hope you can help,
 * Regards,
 * Ralf

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

The topic ‘script insert, can not find to delete script?’ is closed to new replies.

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [script](https://wordpress.org/support/topic-tag/script/)
 * [wordpress blog](https://wordpress.org/support/topic-tag/wordpress-blog/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [ralfv](https://wordpress.org/support/users/ralfv/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/script-insert-can-not-find-to-delete-script/#post-7386720)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
