WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Broken tag in header (8 posts)

  1. webwench2
    Member
    Posted 3 years ago #

    There is a broken tag in the header of http://www.investorsplayground.biz/
    I have gone through the header.php but can not find it to remove it. Any help would be greatly appreciated.

    Lois

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

    this line is not closed:

    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"

    add /> at the end

    this probably lead to the output of the characters into the header.

    try and see if that solves the problem.

  3. webwench2
    Member
    Posted 3 years ago #

    Thank you

    Unfortunately, that did not fix the issue on the home page. I'm still digging.

  4. ClaytonJames
    Member
    Posted 3 years ago #

    It seems to be appearing on/near line 65 of header.php.

    < body class="home blog"> ' /&gt ;

  5. alchymyth
    Forum Moderator
    Posted 3 years ago #

    or possibly the yoast google site verification (?)

  6. webwench2
    Member
    Posted 3 years ago #

    Yes, I am thinking it is the Google site verification. However. I have removed it from the site deactivated the plug in and the tag is still there.

  7. ClaytonJames
    Member
    Posted 3 years ago #

    Your symptom does not appear while viewing single.php or page.php. Only on the home page. I think that might rule out my thoughts on header.php. It only seems to be there when body_class(); = home blog, and I can't duplicate it on a fresh theme install. Maybe disable all of the plugins to rule them out completely, and think back on any edits you may have made outside of the themes options pages. Very strange...

  8. webwench2
    Member
    Posted 3 years ago #

    ClaytonJames,

    I'm just getting into this so it is all new. I have been deactivating plugins trying to not seriously screw up the site (New client). I have gone through the php and css but can't find anything so far. It appears only in the Google verification/SEO plug in in the header on the home page every other page is fine. The creator of the plugin has not responded
    Thank you for helping me!

    Lois

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic