can't remove --> from template

Hi

I started working in this company and someone prior left this → and it shows in all pages under the menu.

IDK how to remove it jjeyelashes this is the site I would really appreciate the help.

Hi @starlyns,

I hope you are well today and thank you for your question.

It seems somebody has modified the Dazzling theme files and added the closing HTML comment tag in it which is not opened therefore it’s displaying on your site as shown in the attached screenshot.

It seems it’s been added in the bottom of the header.php file which you will find on the following path so just remove that extra added closing that from the file.

/wp-content/themes/dazzling/header.php

Alternatively if you have not made any changes in the theme files then to resolve the issue just delete the Dazzling theme from your site and install new fresh version of it from the following page.

Best Regards,
Movin

this is really weird look at the whole header all comments have opening and closing <!-- → I am deleting one by one to see what happen

<?php
/**

  • The Header for our theme.
  • Displays all of the <head> section and everything up till <div id=“content”>
  • @package dazzling
    */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( ‘charset’ ); ?>">
    <meta http-equiv=“X-UA-Compatible” content=“IE=edge”>
    <meta name=“viewport” content=“width=device-width, initial-scale=1”>
    <title><?php wp_title( ‘|’, true, ‘right’ ); ?></title>
    <link rel=“profile” href=“XFN 1.1 profile”>
    <link rel=“pingback” href="<?php bloginfo( ‘pingback_url’ ); ?>">

<!-- favicon →

<?php if ( of_get_option( ‘custom_favicon’ ) ) { ?>
<link rel=“icon” href="<?php echo of_get_option( ‘custom_favicon’ ); ?>" />
<?php } ?>

<!–[if IE]><?php if ( of_get_option( ‘custom_favicon’ ) ) { ?><link rel=“shortcut icon” href="<?php echo of_get_option( ‘custom_favicon’ ); ?>" /><?php } ?><![endif]–>

<?php wp_head(); ?>

</head>

<body <?php body_class(); ?>>
<div id=“page” class=“hfeed site”>

	&lt;nav class="navbar navbar-default" role="navigation"&gt;
		&lt;div class="container"&gt;
	        &lt;div class="navbar-header"&gt;
	            &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"&gt;
	                &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
	                &lt;span class="icon-bar"&gt;&lt;/span&gt;
	                &lt;span class="icon-bar"&gt;&lt;/span&gt;
	                &lt;span class="icon-bar"&gt;&lt;/span&gt;
	            &lt;/button&gt;

			&lt;?php if( get_header_image() != '' ) : ?&gt;

				&lt;div id="logo"&gt;
					<a>"&gt;<img />"  height="&lt;?php echo get_custom_header()-&gt;height; ?&gt;" width="&lt;?php echo get_custom_header()-&gt;width; ?&gt;" alt="&lt;?php bloginfo( 'name' ); ?&gt;"/&gt;</a>
				&lt;/div&gt;&lt;!-- end of #logo --&gt;

			&lt;?php endif; // header image was removed ?&gt;

			&lt;?php if( !get_header_image() ) : ?&gt;

				&lt;div id="logo"&gt;
					&lt;span class="site-name"&gt;<a>" title="&lt;?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?&gt;" rel="home"&gt;&lt;?php bloginfo( 'name' ); ?&gt;</a>&lt;/span&gt;
				&lt;/div&gt;&lt;!-- end of #logo --&gt;

			&lt;?php endif; // header image was removed (again) ?&gt;

	        &lt;/div&gt;
			&lt;?php dazzling_header_menu(); ?&gt;
	    &lt;/div&gt;
	&lt;/nav&gt;&lt;!-- .site-navigation --&gt;
	&lt;?php if(is_front_page()):?&gt;
&lt;!--  &lt;div class="banner-desktop"&gt;
	 	&lt;?php	echo '<img src="' . get_template_directory_uri() . '/Madison-JJ-Banner-Massage.jpg" alt="Free-Lash-Dr" />';?&gt;

</div>
<?php echo ‘Free-Lash-Dr’;?>
<?php endif;?> →

Hi @starlyns,

I visited your site again but now i didn’t see the closing HTML comment tag on it.

Have you managed to remove it?

Please advise.

Regards,
Movin