• Resolved soverymerry

    (@soverymerry)


    How can I get rid of code that is showing up right above my header. I tried to go into header.php to remove and couldn’t find the exact code nor do I know what it’s for. Please advise. Thanks!

    severymerry.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • soverymerry

    It looks like there’s a mismatch of PHP’s opening and closing tags in your theme or some plugin on your site.
    Opening tag looks like
    <?php
    and closing tag looks like
    ?>
    From what I can see, there is one extra closing tag in your code somewhere, but you’ll need to find that out yourself.

    Thread Starter soverymerry

    (@soverymerry)

    Ok thanks, but I don’t know how to fix that. Can you advise on what I’m looking for? Thanks.

    soverymerry

    Did you tried to add this code somewhere in the site

    <?php
    if ( function_exists('yoast_breadcrumb') ) {
         yoast_breadcrumb('<p id="breadcrumbs">','</p>');
    }
    ?>
    Thread Starter soverymerry

    (@soverymerry)

    I did add that code at the end of header.php, but I’m pretty sure I went back and deleted all of that code. I disabled breadcrumbs as well, but that obviously didn’t change anything. So if I can’t find the code then how do I delete it?

    soverymerry

    There must be somewhere else that code might have been added, its coming in the head section of the theme. Could be you added it somewhere in some settings in WordPress which is giving this code as output, or could be in functions.php
    You’ll need to check your site’s options and theme files for this code. If you’ve removed it from all the places you had added it, then do check if you’re using any caching plugin, if so, reset all the cache data.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Code shows up above Header’ is closed to new replies.