Title: removing code
Last modified: August 19, 2016

---

# removing code

 *  Resolved [mbmitnick](https://wordpress.org/support/users/mbmitnick/)
 * (@mbmitnick)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/removing-code/)
 * I do not know how it happened but there is a clickable link for viagra appearing
   on my site (www.thestockhelp.com).
    Looking at the source code I see the viagra
   link is the first line of code under the <body> tag. I work more with html websites
   then I do blogs so I do not know how to remove this errant code. Is it done through
   the administration section of the blog or is it done through my cpanel. Please
   be as specific as possible as this is real annoying. Thanks in advance for any
   help

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

 *  [jwalin](https://wordpress.org/support/users/jwalin/)
 * (@jwalin)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/removing-code/#post-1198099)
 * check header.php file in your theme folder…
 * Might be there is some link for this or other option you have installed any plugins
   in this website…
 * [**signature moderated** Please read the [Forum Rules](http://wordpress.org/support/topic/68664?replies=6)]
 *  [ryans149](https://wordpress.org/support/users/ryans149/)
 * (@ryans149)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/removing-code/#post-1198102)
 * in this folder:
 * [http://thestockhelp.com/wp-content/themes/financial/](http://thestockhelp.com/wp-content/themes/financial/)
 * header.php file
 *  [jwalin](https://wordpress.org/support/users/jwalin/)
 * (@jwalin)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/removing-code/#post-1198104)
 * yes in the same folder
 *  Thread Starter [mbmitnick](https://wordpress.org/support/users/mbmitnick/)
 * (@mbmitnick)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/removing-code/#post-1198171)
 * Thank you both for your quick reply, however, I do not see the viagra line of
   code in header.php and I have looked a few times.
    I also checked my plugins 
   and do not see the code. Question! Does cpanel offer some kind of search feature
   where I could type in “viagra” and get a listing of everywhere that term is located
   on my site? Also, any other suggestions would be greatly appreciated. thanks
 *  Thread Starter [mbmitnick](https://wordpress.org/support/users/mbmitnick/)
 * (@mbmitnick)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/removing-code/#post-1198186)
 * As a follow up to any one following this post. I was able to remove the viagra
   code by going to cpanel, opening up MYSQL database and doing a search for the
   term viagra. The link came up and I was able to delete it.

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

The topic ‘removing code’ is closed to new replies.

## Tags

 * [code removal](https://wordpress.org/support/topic-tag/code-removal/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [mbmitnick](https://wordpress.org/support/users/mbmitnick/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/removing-code/#post-1198186)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
