Forums

Where is this extra /div coming from? (7 posts)

  1. powerkor
    Member
    Posted 9 months ago #

    Anyone have any idea how or why there is an extra /div (closing tag only) being added to the very end of my site (preventing it from validating w3c)

    It's not really causing any other problems, but not sure how to track this down without disabling addons (which I really dont want to do)

  2. iridiax
    Member
    Posted 9 months ago #

    To find errors in your code, select the Show Source option in the validator and then click Revalidate. Now, clicking on the line numbers in the errors will take you to the corresponding line in your code. Look at what code surrounds the error to deduce which theme file or post may have the error.

  3. powerkor
    Member
    Posted 9 months ago #

    HMM... I know what line its on... Im saying Wordpress is ADDING it to the end of the html... its not actually there in the code... so something is ADDING it, you know what I mean.

    Here, take a look: http://www.roguedeals.com/reviews

  4. iridiax
    Member
    Posted 9 months ago #

    WordPress does not do things like this. Check your theme's index.php, footer.php, and functions.php. If it's not hiding in the theme, it may be from a plugin. I have seen hacking insert code at odd spots, but I don't see any nasty code in your footer.

  5. powerkor
    Member
    Posted 9 months ago #

    Guess Ill have to disable every plugin one at a time. Lame.

  6. whooami
    Member
    Posted 9 months ago #

    Guess Ill have to disable every plugin one at a time. Lame.

    I suggest learning to deal with the lameness you see -- disabling plugins is a fairly standard troubleshooting process.

  7. iridiax
    Member
    Posted 9 months ago #

    This topic has another idea for finding odd added code:

    http://wordpress.org/support/topic/243346

Reply

You must log in to post.

About this Topic