WordPress.org

Ready to get started?Download WordPress

Forums

Footer below Template (16 posts)

  1. freedom1
    Member
    Posted 1 year ago #

    I've only noticed this problem since I upgraded to WP 3.5.

    The footer links aren't part of the template any more. They show beneath it.

    The templates have all been reinstalled but the issue remains.

    My blog is http://www.creditrebuild.co.uk/

    I have six other WP blogs, yet this is the only one with this problem.

  2. ronangelo
    Member
    Posted 1 year ago #

    You probably have an unclosed div. Possibly on one of your widgets.

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Looks like @ronangelo is correct -- look at the errors for stray, open, missing tags:

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

    You may want to address some of the other errors as well.

  4. freedom1
    Member
    Posted 1 year ago #

    @ronangelo, I just checked my widgets and each of them appear to have an unclosed div. Perhaps there's one (or more) missing elsewhere as you and WPyogi suggest, so I'll go through the http://validator.w3.org link and see what I need to correct.

    Thanks to you both for your replies.

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Start at the bottom of the validator results :) - there are some likely looking tag errors there.

  6. ronangelo
    Member
    Posted 1 year ago #

    You can also temporarily drag all the widgets in the Inactive Widgets Area then add them one by one while checking the site to see which one produces the error.

  7. freedom1
    Member
    Posted 1 year ago #

    Sorry, I wrote in my previous reply "I just checked my widgets and each of them appear to have an unclosed div."

    I should have written "I just checked my widgets and each of them appear to have a closed div."

    I have done as suggested and moved each widget across to 'inactive' and finally discovered which was causing the problem. It's the bottom one, but, it seems fine, though it does have a long complicated looking code.

    When I cross-checked with http://validator.w3.org/check?uri=http%3A%2F%2Fwww.creditrebuild.co.uk%2F&charset=%28detect+automatically%29&doctype=Inline&group=0 it showed the following against that widget:

    Error Line 409, Column 124: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.

    …://www.halifax.co.uk'><img src='http://test.mecseo.com//halifaxlogo.png' />

    It indicated that the > was missing from png' />, but, as you can see below from my actual code, it isn't missing.

    <img src='http://test.mecseo.com//halifaxlogo.png' /> <div class='tamco_code_holder'>

    So, still not a lot further on, apart from the fact I've now identified the widget that's causing the trouble.

  8. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    The problem looks like an extra closing div and extraneous ul and li tags near the bottom of the page:

    <p> <script type='text/javascript'> var tamco_code_slider=new accordion.slider("tamco_code_slider"); tamco_code_slider.init("tamco_code_slider",0,"open"); </script> </p>
    </div>
    </li>			</ul>
    </div><!-- #primary .widget-area -->

    Below the p closing tag and above the last line.

    If you use Firefox and View Source -- these divs show up in red and are on line 425 and 426

  9. freedom1
    Member
    Posted 1 year ago #

    Weird.

    This is a copy and paste of what is actually showing in that widget box.

    <script type='text/javascript'> var tamco_code_slider=new accordion.slider("tamco_code_slider"); tamco_code_slider.init("tamco_code_slider",0,"open"); </script>

    None of these are there - </p>
    </div>

    </div><!-- #primary .widget-area -->

  10. Andrew
    Forum Moderator
    Posted 1 year ago #

    Look at the template where you're calling the widget.

  11. freedom1
    Member
    Posted 1 year ago #

    Ah, now I see it on lines 405, 406 in View Page Source. Now the question is how do I remove those, since they aren't in the widget box?

    In other words, where do I access that code?

  12. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You'll have to look for how and where they were added -- it can be from content, plug-ins, or the page template. Looks like the javascript there might be in the wrong place?

  13. freedom1
    Member
    Posted 1 year ago #

    I think this is going to be a 'needle in a haystack' scenario. With the amount of pages and plug-ins I have on that blog this could take forever to track down.

    Unfortunately I think I might have to admit defeat on this problem.

  14. ronangelo
    Member
    Posted 1 year ago #

    You said the problem was solved when you removed one of the widgets. It's very likely that the code in the widget is the culprit. Could you post the code here or on pastebin perhaps?

  15. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    the error is likely in the last textwidget (the 'loan' one)

    there is a block of four closing divs just before the last 'script' in that textwidget:

    </div></div></div></div>

    remove one of them </div>.

  16. freedom1
    Member
    Posted 1 year ago #

    alchymyth, wow, it worked, thanks so much.

    It's annoying that such a small thing caused the issue, especially as I was sent that code to place in the Widget.

    Thanks for everyone's help, it's much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic