You just have to bare in mind that you are missing the closing tag, so make sure you don’t replace that.
my default code in header.php is
<div class="themonic-logo">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img src="<?php echo esc_url( get_theme_mod( 'themonic_logo' ) ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"></a>
</div>
Are you able to edit that?
If so, change the div
to h1
in both the opening and closing tags.
i cant edit that,.becdasue i dont know sir
Presumably you have found the code using @WebMachine’s instructions in post #3 above, so you will be in the editor. You just make the changes and press Update File.
Within the header.php file, with the code you sent across before, just simply replace that and paste the following in it’s place:
<h1 class="themonic-logo">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img src="<?php echo esc_url( get_theme_mod( 'themonic_logo' ) ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"></a>
</h1>
bing webmaster tools tell me “The h1> tag is missing.”
the code not working
Have you added the h1 code yet?
Bing’s SEO Reports can be slow to update and show problems long after they have been fixed.
So long as you know you made the change, that’s OK.
You can re-submit the pages for crawling if you like.
I have looked at the source code of your page and I also see no <h1>
tags. Did you make the code changes as suggested?
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.