<?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: Add class tag to &#60;div id="content"&#62;</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sun, 19 May 2013 21:13:01 +0000</pubDate>

<item>
<title>antesark on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16830</link>
<pubDate>Mon, 08 Nov 2010 18:09:41 +0000</pubDate>
<dc:creator>antesark</dc:creator>
<guid isPermaLink="false">16830@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hehe.. :) Gah, that was simpple, should have figured that out by myself, tried quite a few things, but ofc did not try to remove the add_action.&#60;/p&#62;
&#60;p&#62;Thanks again. Keep up the good work!
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16828</link>
<pubDate>Mon, 08 Nov 2010 17:34:38 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">16828@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Aarrgh ..&#60;/p&#62;
&#60;p&#62;Ante, I hereby declare that you are officially allowed to use the hashtag #blamethematic4you in all your tweets talking about bugs in Thematic ;)&#60;/p&#62;
&#60;p&#62;Remove the add_action() part. Normally all childtheme_override_ actions should be hooked automatically to the proper action hooks. Unfortunately I had a couple of add_action() calls inside of the if-clause. This was fixed in the latest SVN copies. &#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>antesark on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16823</link>
<pubDate>Mon, 08 Nov 2010 11:48:07 +0000</pubDate>
<dc:creator>antesark</dc:creator>
<guid isPermaLink="false">16823@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thank you Chris, it worked like a charm. Tho I run into some problems with childtheme_override-functions. Content seemed to be printed twice.&#60;/p&#62;
&#60;p&#62;Tex:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
function childtheme_override_siteinfoclose() { ?&#38;gt;&#60;br /&#62;
        &#38;lt;span class=&#34;float-right&#34;&#38;gt;This page took &#38;lt;?php echo timer_stop(); ?&#38;gt; seconds to load&#38;lt;/span&#38;gt;&#60;br /&#62;
        &#38;lt;/div&#38;gt;&#38;lt;!-- #siteinfo --&#38;gt;&#60;br /&#62;
&#38;lt;?php }&#60;br /&#62;
add_action('thematic_footer', 'childtheme_override_siteinfoclose', 40);&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;You can check this out at &#60;a href=&#34;http://109.74.195.148/testsite/&#34; rel=&#34;nofollow&#34;&#62;http://109.74.195.148/testsite/&#60;/a&#62; .. located at the footer obviously. Had the same problem with childtheme_override_brandingopen/brandingclose. The header img got printed out twice, but fixed it with not using override-function at all.
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16798</link>
<pubDate>Sat, 06 Nov 2010 13:45:52 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">16798@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Ante,&#60;/p&#62;
&#60;p&#62;grab the current SVN copy. I integrated the new filter &#60;code&#62;thematic_open_id_content&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;The following code will add your class to #content:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function add_my_class() {
	return &#38;#39;&#38;lt;div id=&#38;quot;content&#38;quot; class=&#38;quot;my_class&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;;
}
add_filter( &#38;#39;thematic_open_id_content&#38;#39;, &#38;#39;add_my_class&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Best,&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>antesark on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16760</link>
<pubDate>Sat, 06 Nov 2010 00:08:57 +0000</pubDate>
<dc:creator>antesark</dc:creator>
<guid isPermaLink="false">16760@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thank you Chris for your answer. That would be perfect!&#60;/p&#62;
&#60;p&#62;Actually I need to add the class-tag to the div id &#34;content&#34;, not to container, but ofc I can modify it as I like if you just open the whole container div so it can be modified (and everything inside it).&#60;/p&#62;
&#60;p&#62;Bottom point, I just need to add class=&#34;eqh&#34; to div content.&#60;/p&#62;
&#60;p&#62;And if your interested, the reason I need this class is so I can apply thematics equal height javascript to fix sidebar/content overflow (got sidebar on position: absolute).&#60;/p&#62;
&#60;p&#62;The site I'm working on is located at &#60;a href=&#34;http://109.74.195.148/testsite/&#34; rel=&#34;nofollow&#34;&#62;http://109.74.195.148/testsite/&#60;/a&#62; ..&#60;/p&#62;
&#60;p&#62;With best regards, Ante
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16755</link>
<pubDate>Fri, 05 Nov 2010 21:37:11 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">16755@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I could create a filter for this. Something like &#60;code&#62;thematic_open_container_id&#60;/code&#62;. This could be filtered using:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function add_container_class($markup) {
    return &#38;#39;&#38;lt;div id=&#38;quot;container&#38;quot; class=&#38;quot;my_class&#38;quot;;
}
add_filter( &#38;#39;thematic_open_container_id&#38;#39;, &#38;#39;add_container_class&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;With additional if-clauses you could define different classes for index, single, page, and so on.&#60;/p&#62;
&#60;p&#62;Let me know if this would solve your problem.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>antesark on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16740</link>
<pubDate>Fri, 05 Nov 2010 13:28:08 +0000</pubDate>
<dc:creator>antesark</dc:creator>
<guid isPermaLink="false">16740@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Up..
&#60;/p&#62;</description>
</item>
<item>
<title>antesark on "Add class tag to &#60;div id="content"&#62;"</title>
<link>http://themeshaper.com/forums/topic/add-class-tag-to-ltdiv-idcontentgt#post-16704</link>
<pubDate>Wed, 03 Nov 2010 11:37:38 +0000</pubDate>
<dc:creator>antesark</dc:creator>
<guid isPermaLink="false">16704@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;How can I add class=&#34;my_class&#34; tag to &#38;lt;div id=&#34;content&#34;&#38;gt; without modifying the base thematic theme files (page.php, archives.php etc)?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
