• Resolved bradyjfrey

    (@bradyjfrey)


    I’m having an issue typical of IE where it’s formatting my HTML with spaces because of the whitespace it sees (I’m aware this is an IE bug and not aparent in other browsers). The typical fix is to adjust your code to avoid this white space… however, wp_get_archives is the one causing the issue.

    The question is, where in the program can I get into to adust how wp_get_archives outputs code, I’m not seeing it in the wp-include files anywhere? I just want to adjust it to remove tabs and hard returns, so it sets my list to how it should in every other browser.

    You can notice the version, and why I need such sensitivity, in the footer of my site:
    https://dotfive.com

    right now on a holiday theme (not completed), but the footer is consistent with the rest of my site themes throughout the year – you can see that all areas need to align properly, and in this case, the whitespace in the code sends IE on a tiffy. Any guidance on adjusting this is appreciated! Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bradyjfrey

    (@bradyjfrey)

    Nevermind, solved it, here’s how to adjust it:
    1) in the wp-includes folder open up ‘template-functions-general.php’
    2) on line 271 remove the /t and the /n (to remove the tab and hard break
    3) save it

    Now my code is unformatted with tabs and returns, looks beautiful in IE as intended. Sorry for the troubles, now I”ll have to remember this hack – might be a nice bug to post?

    Prolly not a “bug” . . . just another one of those unfortunate aspects of IE6 –

    Thread Starter bradyjfrey

    (@bradyjfrey)

    And IE7 which is what makes me angry:(

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘adjust formatting whitespace wp_get_archives outputs’ is closed to new replies.