WordPress.org

Ready to get started?Download WordPress

Forums

Anchor Tags Injected Into Code (5 posts)

  1. stephta6
    Member
    Posted 6 months ago #

    Suddenly I noticed blank tags in my code in Firebug. They are NOT in the WordPress templates. They are showing up in Firebug only but causing the content to be wrapped as a link that goes nowhere. These mysterious links do not show up when you "View Source."

    Also the only pages it seems to be affecting is a new page I created today: http://putterswild.com/test-party-booking/

    and the homepage top left content: http://putterswild.com/

    Is this a hack?

    In Chrome it affects the entire page and it Firefox it only effects the left side content.

    I have never seen anything like this.

  2. stephta6
    Member
    Posted 6 months ago #

    This forum omitted my html because I didn't put it in backticks. What I was trying to say was that "I noticed blank anchor tags '</a.>' in my code in Firebug."

  3. bcworkz
    Member
    Posted 6 months ago #

    I see no evidence of a hack. Your pages are no where close to validating though. There's a lot of open and unclosed element errors.

    http://validator.w3.org/check?uri=http%3A%2F%2Fputterswild.com%2Ftest-party-booking%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    The plain anchors are a Firebug fabrication in its attempt to make sense of the faulty markup. Unbalanced tags can cause the odd rollover effects. Even though other pages do not have the effect, they still fail to validate. In general, whether one sees the effect seems very random, one sees it, or not, when the markup is flawed, with no apparent reason one way or the other.

    It will go away if you can identify where the bad markup is coming from and correct it.

  4. stephta6
    Member
    Posted 6 months ago #

    Ok great! I will check that out. Thanks!

  5. stephta6
    Member
    Posted 6 months ago #

    You were right. The issue was from an anchor tag I messed up in a widget for the telephone number. It's always something simple. Glad it wasn't a hack. I appreciate your help!! :)

Reply

You must log in to post.

About this Topic