Accidentally deleted a charater in wordpress editor, please help.

by ron200
6 replies
Hello, I am a newbie to wordpress but have watched a bunch of videos lately.
Anyway I have a new website and I was trying to add my amazon script and was in the editor header.php and while playing around with where to put the script in different places I accidently backspaced and took out a character and now website is messed up.

This is the area where it happened:
<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>

<div id="page" class="wrapper hfeed site">

<header id="masthead" class="site-header" role="banner">
<div class="container_16 clearfix">
<div class="grid_16">
<?php get_template_part( 'custom', 'header' ); ?

</div>
</div>
</header><!-- #masthead -->


The part toward the end that says <?php get_template_part( 'custom', 'header' ); ?

I am pretty sure whatever is supposed to come after the ? at the end I deleted and now website says parse error: syntax error unexpected '<' in/home/www/mywebsite.com/wp-content/themes/contango/header.php on line 23.

Any clue what need to be added to fix. Thanks a bunch.
#accidentally #charater #deleted #editor #wordpress

Trending Topics