Title: Header code blocking dashboard
Last modified: August 20, 2016

---

# Header code blocking dashboard

 *  [dawnviola](https://wordpress.org/support/users/dawnviola/)
 * (@dawnviola)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/header-code-blocking-dashboard/)
 * Hi Everyone – I was messing around with a no-right-click code in my header (before
   I knew WP doesn’t allow). All was fine until I tried to log into the WP dashboard—
   the page is blank, with only ?> showing up. The blog itself loads and functions
   just fine (although the same ?> appears at the very top of the page). [http://www.dawnviola.com](http://www.dawnviola.com)
 * I know what I did wrong, I just can’t find the file in FTP to fix it. I’m using
   a template that, in the ePanel, allows me to insert code into the header automatically.
   The problem is I have no idea how it gets inserted or where (I know it’s in my
   header, but my header.php file doesn’t show the script I put in).
 * I hope that makes sense? Basically, I just need to know which file the no-right-
   click code was inserted into so I can remove it manually via FTP — without access
   to the dashboard, it’s the only way to access.
 * I’ve already tried loading my backup, which didn’t work.
 * Thanks in advance for your help!
    -Dawn

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

 *  [Christine Rondeau](https://wordpress.org/support/users/crondeau/)
 * (@crondeau)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/header-code-blocking-dashboard/#post-2561924)
 * It looks like the error is in your header.php on the very first line.
 * The first thing that should be in the header.php is `<!DOCTYPE html PUBLIC "-//
   W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
   transitional.dtd">`
 * I’m guessing that you inserted something at the top.
 * If you haven’t messed around too much the team at elegant themes could provide
   you with the original theme you bought.
 *  Thread Starter [dawnviola](https://wordpress.org/support/users/dawnviola/)
 * (@dawnviola)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/header-code-blocking-dashboard/#post-2561950)
 * Thank you so much, Christine. I have the original files for the theme, so I’ll
   try replacing with that first. I really appreciate your help!
    -Dawn

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

The topic ‘Header code blocking dashboard’ is closed to new replies.

## Tags

 * [blank dashboard](https://wordpress.org/support/topic-tag/blank-dashboard/)
 * [no right click](https://wordpress.org/support/topic-tag/no-right-click/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [dawnviola](https://wordpress.org/support/users/dawnviola/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/header-code-blocking-dashboard/#post-2561950)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
