WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] " /> " /> appearing in header (14 posts)

  1. lehner.c
    Member
    Posted 4 years ago #

    At the top of my site, http://www.themusicstoop.com, the following is appearing: " /> " />.

    I tried everything from replacing all .php files and went through my stylesheet numerous times. I also looked in firebug and found the issue but only found it in the html and can not find it within any .php files. Any help would be greatly appreciated as I can not change my background color without it being noticed.

    Thanks in advance!

    Screenshot of the issue here: http://img685.imageshack.us/img685/6160/screenshot20100417at918.png

  2. elfin
    Moderator
    Posted 4 years ago #

    <meta name="description" abstract\="" content="<meta name=\" news;="" interviews;="" reviews;="" and="" tattoos="" for="" all="" genres\=""><meta name="\&quot;alexa\&quot;" content="\&quot;100\&quot;"><meta name="keywords" pagerankā„¢\="" content="<meta name=\"></head><body>" />
     " />

    is in your header, now that is either caused by a plugin, or your theme. I'm guessing it is trying to extract tags and failing.

  3. lehner.c
    Member
    Posted 4 years ago #

    Thanks for the input. I tried removing all meta tags and the issue was still there. Any other ideas? I can post the header.php if it will help. Thanks again!

  4. elfin
    Moderator
    Posted 4 years ago #

    well the issue as you say is still there, have you tried deactivating all plugins? does that fix it? if not then it would be in the theme.

  5. robinvd
    Member
    Posted 4 years ago #

    Well, when checking his website it looks all ok now.

  6. Kristi @ Pro-Soil
    Member
    Posted 4 years ago #

    Similar problem here...

    I don't know what I did, but there is some erroneous code appearing in the top left hand corner of every page of my blog.

  7. Safirul Alredha
    Member
    Posted 4 years ago #

    Kristi @ Pro-Soil,

    Open your theme's header.php, look for:
    <meta name="author" content="..." />

    What did you put in "..."?

  8. elfin
    Moderator
    Posted 4 years ago #

    @robin, no the issue is still there, but it is black text on a black background, so can't be seen easily.

    and both look to have similar issues - do you have an seo plugin installed? or anything that might add things to the header.

  9. Kristi @ Pro-Soil
    Member
    Posted 4 years ago #

    Zeo, Thank you so much for replying.

    This is what I've got in the header.php

    <meta name="author" content="<?php list_authors(); ?>"/>
    <meta name="description" content="<?php bloginfo('description'); ?>" />
    <meta name="keywords" content="" />

    What do you think?

    -Kristi

  10. Kristi @ Pro-Soil
    Member
    Posted 4 years ago #

    I found this in the source code displayed online...but I'm not sure where to find it in word press files ...

    <meta name="author" content="<li><a href="http://www.pro-soil.com/blog/author/from-around-the-web/" title="Posts by From Around the Web">From Around the Web</a></li><li><a href="http://www.pro-soil.com/blog/author/kristi-kirk/" title="Posts by Kristi">Kristi</a></li>"/>

    How do you you delete these posts when you make a mistake?
    OMGosh, I'm really not an idiot, I promise. LOL

  11. Safirul Alredha
    Member
    Posted 4 years ago #

    Kristi @ Pro-Soil,

    header.php, replace:
    <meta name="author" content="<?php list_authors(); ?>"/>

    to:

    <meta name="author" content="<?php wp_list_authors('html=0'); ?>" />

  12. Kristi @ Pro-Soil
    Member
    Posted 4 years ago #

    YAYYY!!! Thank you Zeo. If I can return the favor somehow, please let me know :)

    --Kristi

  13. elfin
    Moderator
    Posted 4 years ago #

    well done Zeo, hopefully the same fix will help the original poster.

  14. lehner.c
    Member
    Posted 4 years ago #

    I had some weird code in one of my meta plugins that was causing the error. Thanks for all of the replies and help!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.