<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Per Category Intro Text</title>
	<atom:link href="http://epicalex.com/per-category-intro-text/feed/" rel="self" type="application/rss+xml" />
	<link>http://epicalex.com/per-category-intro-text/</link>
	<description></description>
	<lastBuildDate>Sun, 18 Sep 2011 00:25:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Mike D</title>
		<link>http://epicalex.com/per-category-intro-text/comment-page-1/#comment-42679</link>
		<dc:creator>Mike D</dc:creator>
		<pubDate>Thu, 20 Jan 2011 09:00:08 +0000</pubDate>
		<guid isPermaLink="false">http://epicalex.com/?p=55#comment-42679</guid>
		<description>Big help - thanks!</description>
		<content:encoded><![CDATA[<p>Big help &#8211; thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrice</title>
		<link>http://epicalex.com/per-category-intro-text/comment-page-1/#comment-19450</link>
		<dc:creator>Patrice</dc:creator>
		<pubDate>Mon, 29 Mar 2010 02:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://epicalex.com/?p=55#comment-19450</guid>
		<description>As easy as 1-2-3! Thank you so much. I have been looking for this for a little while now. 

Thanks!</description>
		<content:encoded><![CDATA[<p>As easy as 1-2-3! Thank you so much. I have been looking for this for a little while now. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mali</title>
		<link>http://epicalex.com/per-category-intro-text/comment-page-1/#comment-16369</link>
		<dc:creator>Mali</dc:creator>
		<pubDate>Wed, 13 Jan 2010 12:20:36 +0000</pubDate>
		<guid isPermaLink="false">http://epicalex.com/?p=55#comment-16369</guid>
		<description>Big thanks for the reply. Sorry for the delay but Christmas and all that :D Hope you had good holidays. So far so good the description works great but now ive got a fussy client asking if they can add the text them selves Doh Not letting them touch the back end.

Cheers
Mali</description>
		<content:encoded><![CDATA[<p>Big thanks for the reply. Sorry for the delay but Christmas and all that <img src='http://epicalex.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Hope you had good holidays. So far so good the description works great but now ive got a fussy client asking if they can add the text them selves Doh Not letting them touch the back end.</p>
<p>Cheers<br />
Mali</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://epicalex.com/per-category-intro-text/comment-page-1/#comment-14847</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 22 Dec 2009 01:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://epicalex.com/?p=55#comment-14847</guid>
		<description>Hi Mali, you can add some styling to the text by adding a class or id to the &lt;code&gt;&lt;p&gt;&lt;/code&gt; tags, like &lt;code&gt;&lt;p class=&quot;category_desc&quot;&gt;&lt;/code&gt; and then in your CSS, add 
&lt;pre lang=&quot;css&quot;&gt;
.category_desc {
   padding: 5px;
   border: 1px solid #CCCCCC;
}
&lt;/pre&gt;

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Hi Mali, you can add some styling to the text by adding a class or id to the <code>&lt;p&gt;</code> tags, like <code>&lt;p class="category_desc"&gt;</code> and then in your CSS, add</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.category_desc</span> <span style="color: #00AA00;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCCCCC</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mali</title>
		<link>http://epicalex.com/per-category-intro-text/comment-page-1/#comment-14679</link>
		<dc:creator>Mali</dc:creator>
		<pubDate>Fri, 18 Dec 2009 14:53:57 +0000</pubDate>
		<guid isPermaLink="false">http://epicalex.com/?p=55#comment-14679</guid>
		<description>Great Post Alex, and works a treat, but sadly im not a coding man and just wondered how i could add some style to the text? Any help would be much appreciated.

Once again cheers for the help</description>
		<content:encoded><![CDATA[<p>Great Post Alex, and works a treat, but sadly im not a coding man and just wondered how i could add some style to the text? Any help would be much appreciated.</p>
<p>Once again cheers for the help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trisha Cupra, Web Design Watchdog</title>
		<link>http://epicalex.com/per-category-intro-text/comment-page-1/#comment-961</link>
		<dc:creator>Trisha Cupra, Web Design Watchdog</dc:creator>
		<pubDate>Sun, 29 Jun 2008 14:19:09 +0000</pubDate>
		<guid isPermaLink="false">http://epicalex.com/?p=55#comment-961</guid>
		<description>Is there a way to write the PHP code so that it checks if there is something written in the description field for the category, and if there is then it displays it, but if it is blank it disregards it?</description>
		<content:encoded><![CDATA[<p>Is there a way to write the PHP code so that it checks if there is something written in the description field for the category, and if there is then it displays it, but if it is blank it disregards it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauro, Suitecom Hotel Marketing</title>
		<link>http://epicalex.com/per-category-intro-text/comment-page-1/#comment-920</link>
		<dc:creator>Mauro, Suitecom Hotel Marketing</dc:creator>
		<pubDate>Wed, 25 Jun 2008 10:52:14 +0000</pubDate>
		<guid isPermaLink="false">http://epicalex.com/?p=55#comment-920</guid>
		<description>I resolved. I have done so:

1. I created a file (catintro.php) where I placed the code

2. Then I have inserted with a &quot;php include&quot; in category.php 

I hope this help someone

Ciao!</description>
		<content:encoded><![CDATA[<p>I resolved. I have done so:</p>
<p>1. I created a file (catintro.php) where I placed the code</p>
<p>2. Then I have inserted with a &#8220;php include&#8221; in category.php </p>
<p>I hope this help someone</p>
<p>Ciao!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauro, Suitecom Hotel Marketing</title>
		<link>http://epicalex.com/per-category-intro-text/comment-page-1/#comment-919</link>
		<dc:creator>Mauro, Suitecom Hotel Marketing</dc:creator>
		<pubDate>Wed, 25 Jun 2008 10:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://epicalex.com/?p=55#comment-919</guid>
		<description>Hi,

very useful! 

But if I have many categories (for example 50) is not convenient to have a long list of &quot;elseif.&quot; Maybe is there a more elegant way?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>very useful! </p>
<p>But if I have many categories (for example 50) is not convenient to have a long list of &#8220;elseif.&#8221; Maybe is there a more elegant way?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://epicalex.com/per-category-intro-text/comment-page-1/#comment-889</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 21 Jun 2008 17:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://epicalex.com/?p=55#comment-889</guid>
		<description>@Jasonian - It suggests the same thing in the codex because it was me that added it! The suggestion that that section starts with is that you could create a different category.php file for each category, adding different text at the top. This is of course a lot of work, so I added a dynamic version, allowing for one category.php file.

As per your second point, you could of course use 
&lt;code&gt;&lt;?php echo category_description(); ?&gt;&lt;/code&gt; in your category.php file, however this would then always output the description, regardless of whether you wanted one or not. Using this method allows for you to define some text for only certain categories. 

I hope that answers your query! :-)</description>
		<content:encoded><![CDATA[<p>@Jasonian &#8211; It suggests the same thing in the codex because it was me that added it! The suggestion that that section starts with is that you could create a different category.php file for each category, adding different text at the top. This is of course a lot of work, so I added a dynamic version, allowing for one category.php file.</p>
<p>As per your second point, you could of course use<br />
<code>< ?php echo category_description(); ?></code> in your category.php file, however this would then always output the description, regardless of whether you wanted one or not. Using this method allows for you to define some text for only certain categories. </p>
<p>I hope that answers your query! <img src='http://epicalex.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasonian.</title>
		<link>http://epicalex.com/per-category-intro-text/comment-page-1/#comment-888</link>
		<dc:creator>Jasonian.</dc:creator>
		<pubDate>Sat, 21 Jun 2008 17:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://epicalex.com/?p=55#comment-888</guid>
		<description>The WordPress.org Codex makes the same suggestion as you do, and I don&#039;t understand why.

http://codex.wordpress.org/Category_Templates#Adding_Text_to_Category_Pages

Categories in WordPress have a &quot;description&quot; field (see your Manage &gt; Categories admin page). Instead of having to write code to check each category, just display that built-in description.

http://codex.wordpress.org/Template_Tags/category_description

I have a feeling I&#039;m missing an important aspect of usage....</description>
		<content:encoded><![CDATA[<p>The WordPress.org Codex makes the same suggestion as you do, and I don&#8217;t understand why.</p>
<p><a href="http://codex.wordpress.org/Category_Templates#Adding_Text_to_Category_Pages" rel="nofollow">http://codex.wordpress.org/Category_Templates#Adding_Text_to_Category_Pages</a></p>
<p>Categories in WordPress have a &#8220;description&#8221; field (see your Manage &gt; Categories admin page). Instead of having to write code to check each category, just display that built-in description.</p>
<p><a href="http://codex.wordpress.org/Template_Tags/category_description" rel="nofollow">http://codex.wordpress.org/Template_Tags/category_description</a></p>
<p>I have a feeling I&#8217;m missing an important aspect of usage&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

