<?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: Adding a dynamic post class</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 22 May 2013 14:03:35 +0000</pubDate>

<item>
<title>helgatheviking on "Adding a dynamic post class"</title>
<link>http://themeshaper.com/forums/topic/adding-a-dynamic-post-class#post-17483</link>
<pubDate>Sat, 04 Dec 2010 07:16:45 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">17483@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;BLESS YOU GENE!!  i saw the thematic_post_class() function and thought I could filter that exactly the same way as i did with the thematic_body_class.  &#60;/p&#62;
&#60;p&#62;just what i needed!
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Adding a dynamic post class"</title>
<link>http://themeshaper.com/forums/topic/adding-a-dynamic-post-class#post-17473</link>
<pubDate>Sat, 04 Dec 2010 02:25:48 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">17473@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi Kathy,&#60;/p&#62;
&#60;p&#62;As a general rule when you're running into issues with filtering a function or hooking into Thematic, look at the source code for the function you're trying to filter or hook into.&#60;/p&#62;
&#60;p&#62;Try:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;add_filter(&#38;#39;post_class&#38;#39;,&#38;#39;clearfix_post&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;It looks like this never got Thematicized from its Sandbox roots &#60;/p&#62;
&#60;p&#62;-Gene
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Adding a dynamic post class"</title>
<link>http://themeshaper.com/forums/topic/adding-a-dynamic-post-class#post-17465</link>
<pubDate>Fri, 03 Dec 2010 21:46:42 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">17465@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i'm losing my mind... that works just fine filtering the body classes.. they look like they should be the same.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Adding a dynamic post class"</title>
<link>http://themeshaper.com/forums/topic/adding-a-dynamic-post-class#post-17453</link>
<pubDate>Fri, 03 Dec 2010 15:42:13 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">17453@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I thought this would be similar to a function i wrote once for the body classes, but no joy.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//filter thematic_post_class to add clearfix
function clearfix_post($c){
	$c[] = &#38;#39;clearfix&#38;#39;;
	return $c;
}
add_filter(&#38;#39;thematic_post_class&#38;#39;,&#38;#39;clearfix_post&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;any reason why the above should add &#34;clearfix&#34; to the post class?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
