<div class="gmail_quote">On 7 October 2010 21:16, Otto <span dir="ltr"><<a href="mailto:otto@ottodestruct.com">otto@ottodestruct.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hmmm... Given that a rather large number of plugins do use the<br>
wp_footer to put displayable content onto the page, I'd have to say<br>
that it's acceptable to place the wp_footer() code into a div or span<br>
or whatever. In theme's I've written (HTML5), I do tend to put it<br>
inside the <footer> element.<br>
<br></blockquote><div><br></div><div>Absolutely. I've had numerous instances where content is added to the page with that action.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
A long term solution would be to encourage widgetized footers for<br>
displayable content. Until then, I'd say that putting wp_footer<br>
outside of DIVs should be recommended only, not required.<br>
<br></blockquote><div><br></div><div>+1</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On the topic of scripts breaking when inside a DIV, well, that's a<br>
pretty darned poorly written script, I'd say. Scripts that modify the<br>
DOM should work no matter where they're placed. jQuery makes this<br>
easy. We shouldn't require theme authors to account for other people's<br>
bad code.<br>
<br></blockquote><div><br></div><div>My thoughts exactly. I've recently had to fix some JS that made crazy assumptions about it's position in the layout!</div><div><br></div><div><br></div><div>Mike</div></div>-- <br>
Mike Little<br><a href="http://zed1.com/">http://zed1.com/</a><br><br>