Please post your header.php code
Heres the header.php minus that xml line i mentioned. Im pasting this using my phone. The xml line is usually on line 18 or 19.
[ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>" />
<title><?php wp_title( '»', true, 'right' );?><?php bloginfo( 'name' ); ?></title>
<link rel="shortcut icon" type="image/ico" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" />
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" media="all" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.min.js"></script>
<!--[if lte IE 8]>
<style type="text/css">/* Styles globaux */
#comments li, #comments input.text, #comments textarea, #comments .input-text {behavior:url(<?php bloginfo('stylesheet_directory'); ?>/js/border-radius.htc);}
{behavior:url(<?php bloginfo('stylesheet_directory'); ?>/js/border-radius.htc);}
</style>
<![endif]-->
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head();?>
-<users>
<user>EE3338FB4E73DB3BEE43A95197B0B6FA</user>
</users>
<meta name="p:domain_verify" content="08c84f3e2b815c9ec0a6f6f0565ef2e6"/>
</head>
<body <?php body_class(); ?>>
<div class="website-container">
<div id="header">
<form action="<?php echo home_url( '/' ); ?>">
<div class="search-form">
<label class="search-label-sliding" for="search-sliding"><?php _e('Search','redbel');?></label>
<input name="s" id="search-sliding" class="search-sliding" type="text" value="" />
<input type="image" name="Search" src="<?php bloginfo('stylesheet_directory'); ?>/images/transparent.gif" alt="Search" class="search-button" />
</div>
</form>
<h1 class="blog-title"><a>"><?php bloginfo( 'name' ); ?></a></h1>
<div id="site-description"><?php bloginfo( 'description' ); ?></div>
<a>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/transparent.gif" height="33" width="55" alt="RSS Feed" id="rss-button" /></a>
<?php
$defaults_menu_par = array(
'depth' => 3,
'theme_location' => 'primary');
wp_nav_menu( $defaults_menu_par ); ?>
</div>
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
Do you mean this theme?
https://wordpress.org/themes/redbel/
If so then you may want to switch to another theme. That one has not been updated in almost 6 years and looks like it is not supported.
Would that deal with this issue? Im kinda attached to this theme.
Moderator
t-p
(@t-p)
As Jan said your theme has not been updated for Six Years! It looks highly unlikely that the author will update it.
Therefore, I strongly suggest you find an another theme.
The WordPress theme directory has hundreds of free themes to chose from:
https://wordpress.org/themes/
Thats great but will that deal with the parse error. Lets not go off topic. I want the parse error sorted first.
[Moderator Note: No bumping, thank you.]
The theme you are using is no longer compatible with WordPress. Switch to another theme.
Is it really the theme causing this parse error or are you guys just pointing out that my theme is outdated?
No – we are actually pointing out that a 5+ year old theme is pretty much guaranteed to have some problems with the current version of WordPress.
Hi ,
I agree with @jan Dembowski and the others that posted here.
It’s counter intuitive to fix the header.php as there might be an endless supply of bugs to fix thereafter. You site is at risk of encountering unpredictable issues every time you update WordPress (and updates are necessary).
I highly recommend considering a new theme or hiring a professional to create something similar.
All the best.