<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: thematic_close_wrapper : move footer out of #wrapper by code?</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 22 May 2013 17:12:21 +0000</pubDate>

<item>
<title>wlanni on "thematic_close_wrapper : move footer out of #wrapper by code?"</title>
<link>http://themeshaper.com/forums/topic/thematic_close_wrapper-move-footer-out-of-wrapper-by-code#post-18923</link>
<pubDate>Wed, 02 Feb 2011 22:57:01 +0000</pubDate>
<dc:creator>wlanni</dc:creator>
<guid isPermaLink="false">18923@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Great. &#60;/p&#62;
&#60;p&#62;Thanks Helga!!!!&#60;/p&#62;
&#60;p&#62;Hope this helps other designers/integrators in moving the footer out of the wrapper -- I've done this by hand several times to force a footer to 'stick' to the bottom of a page without using position: absolute.&#60;/p&#62;
&#60;p&#62;Anyway... the end.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "thematic_close_wrapper : move footer out of #wrapper by code?"</title>
<link>http://themeshaper.com/forums/topic/thematic_close_wrapper-move-footer-out-of-wrapper-by-code#post-18892</link>
<pubDate>Wed, 02 Feb 2011 08:59:46 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">18892@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;that's the right way to target a filter- you pass values to a filter.  in this case you are passing 'FALSE'.  in your first attempt you weren't returning any value, so nothing was changing.
&#60;/p&#62;</description>
</item>
<item>
<title>wlanni on "thematic_close_wrapper : move footer out of #wrapper by code?"</title>
<link>http://themeshaper.com/forums/topic/thematic_close_wrapper-move-footer-out-of-wrapper-by-code#post-18882</link>
<pubDate>Wed, 02 Feb 2011 01:59:59 +0000</pubDate>
<dc:creator>wlanni</dc:creator>
<guid isPermaLink="false">18882@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;And within one minute of posting I have a brainstorm and figure out a solution.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function set_close_wrapper_to_false() {
	return false;
}
add_filter(&#38;#39;thematic_close_wrapper&#38;#39;,&#38;#39;set_close_wrapper_to_false&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Is this technically correct? Or was there a better way to do this?
&#60;/p&#62;</description>
</item>
<item>
<title>wlanni on "thematic_close_wrapper : move footer out of #wrapper by code?"</title>
<link>http://themeshaper.com/forums/topic/thematic_close_wrapper-move-footer-out-of-wrapper-by-code#post-18881</link>
<pubDate>Wed, 02 Feb 2011 01:54:33 +0000</pubDate>
<dc:creator>wlanni</dc:creator>
<guid isPermaLink="false">18881@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hello!&#60;/p&#62;
&#60;p&#62;Rather than hard coding the &#38;lt;/div&#38;gt; &#38;lt;!-- #wrapper --&#38;gt; in footer.php, I want to use the thematic_close_wrapper. Apparently I'm still struggling with how to apply_filters, as I've read the documentation, and still don't seem to be getting the result I want.&#60;/p&#62;
&#60;p&#62;On a positive note, I did manage to get the wrapper closing &#38;lt;/div&#38;gt; where I wanted it. Here's what I'm working on:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function close_wrapper_in_thematic_abovefooter() {
	echo &#38;#39;&#38;lt;/div&#38;gt;&#38;lt;!-- #wrapper .hfeed --&#38;gt;&#38;#39;;
}
add_filter(&#38;#39;thematic_abovefooter&#38;#39;, &#38;#39;close_wrapper_in_thematic_abovefooter&#38;#39;);

function set_close_wrapper_to_false() {
	echo apply_filters(&#38;#39;thematic_close_wrapper&#38;#39;, false);
}
add_action(&#38;#39;thematic_belowfooter&#38;#39;,&#38;#39;set_close_wrapper_to_false&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;OK, as you can see, I put the apply_filter into that function, as the if statement checking if thematic_close_wrapper is true or false is in the footer.php outside of any hooks or anything, and I can't figure out how else to filter it.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
