Title: Unwanted code in theme header?
Last modified: October 3, 2023

---

# Unwanted code in theme header?

 *  [sharoni](https://wordpress.org/support/users/sharoni/)
 * (@sharoni)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/unwanted-code-in-theme-header/)
 * Hi, I installed a fresh copy of WordPress on a new subdomain and found a bunch
   of ads in the header tag of the 2023 theme using the inspector. So I installed
   a new WordPress site on my laptop with xampp – same thing. Anyone know why this
   is happening and how can I get rid of it? 
   Thanks in advance
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funwanted-code-in-theme-header%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/unwanted-code-in-theme-header/#post-17096228)
 * What are these “bunch of ads”? Can you provide a screenshot to help us understand
   what you’re seeing?
 * I checked the link you provided, and I don’t see any ads at all. I even inspected
   the HTML code behind the page, and I didn’t see any signs of any ads at all.
 * ![](https://i0.wp.com/i.snipboard.io/0kjN9h.jpg?ssl=1)
 *  Thread Starter [sharoni](https://wordpress.org/support/users/sharoni/)
 * (@sharoni)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/unwanted-code-in-theme-header/#post-17096303)
 * Hi, please check the screen shot at:
   [https://drive.google.com/file/d/19FuJqrRUy9mRahaJs8zgyYQst3i-gJn8/view?usp=drive_link](https://drive.google.com/file/d/19FuJqrRUy9mRahaJs8zgyYQst3i-gJn8/view?usp=drive_link)
 * thanks
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/unwanted-code-in-theme-header/#post-17096311)
 * Your Google Drive link is private, so no one here can see it.
 * Either make it public, or better yet, upload the screenshot to a public space
   like [https://snipboard.io/](https://snipboard.io/) and share the link here.
 *  Thread Starter [sharoni](https://wordpress.org/support/users/sharoni/)
 * (@sharoni)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/unwanted-code-in-theme-header/#post-17096347)
 * Here it is on snipboard
 * [https://snipboard.io/oY8cSF.jpg](https://snipboard.io/oY8cSF.jpg)

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

The topic ‘Unwanted code in theme header?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [sharoni](https://wordpress.org/support/users/sharoni/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/unwanted-code-in-theme-header/#post-17096347)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
