WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to remove unwanted text in page background (6 posts)

  1. whitelepage
    Member
    Posted 1 year ago #

    Unable to remove undesirable text that has mysteriously shown up on site.
    In the top left on all pages it says "page contents" and there is a "<" in the body of every page as well.

    I have tried to identify the element with FireBug tool but am unable to.
    Here is a link to the site, http://majesticlocs.ca

    How can I find the location of these texts and remove them?

    Thank you!

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try disabling plugins to explore whether any are responsible.

  3. Es piaT
    Member
    Posted 1 year ago #

    - Maybe you will find it in your theme files -> header (it depends on your theme)
    - search for "page contents"
    - you will find it directly after the javascript-code
    - firebug will help you

    other problem with "<":

    it's the same thing. look in your theme files and delete it. take firebug for finding this string.

    that's all.

  4. whitelepage
    Member
    Posted 1 year ago #

    Thanks
    I was able to find and remove the "page contents" in header.php
    However I was not able to find "&lt" at all. Not even with firebug.
    Can you point me in the right direction?

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Whatever you changed in the header.php file, looks like it removed some important tags -- see the resulting errors:

    http://validator.w3.org/check?uri=http%3A%2F%2Fmajesticlocs.ca%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    The errant < is in this code just above the footer section:

    </div>
    <
    <div class="clear"></div>
    <div id="footer" class="clearfix">
  6. whitelepage
    Member
    Posted 1 year ago #

    Thanks. Found the errant text right where you indicated WPyogi

    Issue resolved!

Topic Closed

This topic has been closed to new replies.

About this Topic