Parse error syntax error unexpected ‘>’ in header
-
Hello! I’m desperate for help. I added Google Adsense to my code (using tutorials, I have no business being in any code). After I did it, I kept getting errors. I went and removed it and now I’m getting a parse error. I’m guessing I removed the wrong portion.
Here is my code:
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<link rel=”profile” href=”http://gmpg.org/xfn/11″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”><?php wp_head()
<head><body <?php body_class(); ?>>
I’m assuming the error is somewhere between the heads. That’s where I had Adsense.
Huge thanks to anyone that can help me fix it. My entire site is down!
The topic ‘Parse error syntax error unexpected ‘>’ in header’ is closed to new replies.
