<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Styling Asides Differently</title>
	<atom:link href="http://schinckel.net/2006/03/05/styling-asides-differently/feed/" rel="self" type="application/rss+xml" />
	<link>http://schinckel.net/2006/03/05/styling-asides-differently/</link>
	<description>Like a fortune cookie, only without the fortune, and not a cookie.</description>
	<pubDate>Wed, 08 Sep 2010 10:16:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: diaet</title>
		<link>http://schinckel.net/2006/03/05/styling-asides-differently/#comment-1086</link>
		<dc:creator>diaet</dc:creator>
		<pubDate>Fri, 14 Apr 2006 12:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2006/03/05/styling-asides-differently/#comment-1086</guid>
		<description>Hey, cool - exactly what I wanted to reach! Thanks a lot, Matt! :)</description>
		<content:encoded><![CDATA[<p>Hey, cool - exactly what I wanted to reach! Thanks a lot, Matt! <img src='http://schinckel.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2006/03/05/styling-asides-differently/#comment-1081</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Fri, 14 Apr 2006 01:08:59 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2006/03/05/styling-asides-differently/#comment-1081</guid>
		<description>Ahh, my mistake.  &lt;code&gt;{the_category}&lt;/code&gt; creates a link, doesn't it?  What you can try is:

&lt;code&gt;{capture name=cats}{the_category seperator=" "}{/capture}
{assign var=cats value=$smarty.capture.cats&#124;strip_tags&#124;strip}
&#60;div class="post {$cats}"&#62;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Ahh, my mistake.  <code>{the_category}</code> creates a link, doesn&#8217;t it?  What you can try is:</p>
<p><code>{capture name=cats}{the_category seperator=" "}{/capture}<br />
{assign var=cats value=$smarty.capture.cats|strip_tags|strip}<br />
&lt;div class="post {$cats}"&gt;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: diaet</title>
		<link>http://schinckel.net/2006/03/05/styling-asides-differently/#comment-1079</link>
		<dc:creator>diaet</dc:creator>
		<pubDate>Thu, 13 Apr 2006 12:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2006/03/05/styling-asides-differently/#comment-1079</guid>
		<description>Thanks for responding, Matthew!

I must admit, that I tried that first - but it gives something like

&lt;code&gt;post &#60;a href="http://diaet.blogsome.com/category/kuriosa/" title="View all posts in Kuriosa" rel="category tag"&#62;Kuriosa&#60;/a&#38;gt&lt;/code&gt;

 as output for the class, which obviously won't work. I thought I could workaround with get_the_category - but I'm not (yet) smarty enough ;)</description>
		<content:encoded><![CDATA[<p>Thanks for responding, Matthew!</p>
<p>I must admit, that I tried that first - but it gives something like</p>
<p><code>post &lt;a href="http://diaet.blogsome.com/category/kuriosa/" title="View all posts in Kuriosa" rel="category tag"&gt;Kuriosa&lt;/a&amp;gt</code></p>
<p> as output for the class, which obviously won&#8217;t work. I thought I could workaround with get_the_category - but I&#8217;m not (yet) smarty enough <img src='http://schinckel.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Schinckel</title>
		<link>http://schinckel.net/2006/03/05/styling-asides-differently/#comment-1051</link>
		<dc:creator>Matthew Schinckel</dc:creator>
		<pubDate>Sun, 09 Apr 2006 07:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2006/03/05/styling-asides-differently/#comment-1051</guid>
		<description>Use the code:

&lt;code&gt;&#60;div class="post {the_category seperator=' '}"&#62;&lt;/code&gt;

And then to style the category &lt;em&gt;Foo&lt;/em&gt; differently, use an entry in your style sheet like:

&lt;code&gt;.Foo {
// style information here
}&lt;/code&gt;

Note that there may be some issues trying to style a category with spaces in the name, and that if you have any category names that clash with other class names in your template, you may get unexpected results.</description>
		<content:encoded><![CDATA[<p>Use the code:</p>
<p><code>&lt;div class="post {the_category seperator=' '}"&gt;</code></p>
<p>And then to style the category <em>Foo</em> differently, use an entry in your style sheet like:</p>
<p><code>.Foo {<br />
// style information here<br />
}</code></p>
<p>Note that there may be some issues trying to style a category with spaces in the name, and that if you have any category names that clash with other class names in your template, you may get unexpected results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: diaet</title>
		<link>http://schinckel.net/2006/03/05/styling-asides-differently/#comment-1048</link>
		<dc:creator>diaet</dc:creator>
		<pubDate>Sat, 08 Apr 2006 13:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://schinckel.blogsome.com/2006/03/05/styling-asides-differently/#comment-1048</guid>
		<description>Hey Schickel,

duringe the Fifa World Cup this year, I'd like to style a special category differently, but don't want to use the Asides function. Since I'm not much into smarty stuff - could you explain to me, how I could do this using the "the_category"-tag as you mentioned it?

Thanks in advance,
diaet/Jan</description>
		<content:encoded><![CDATA[<p>Hey Schickel,</p>
<p>duringe the Fifa World Cup this year, I&#8217;d like to style a special category differently, but don&#8217;t want to use the Asides function. Since I&#8217;m not much into smarty stuff - could you explain to me, how I could do this using the &#8220;the_category&#8221;-tag as you mentioned it?</p>
<p>Thanks in advance,<br />
diaet/Jan</p>
]]></content:encoded>
	</item>
</channel>
</rss>
