<?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: HOWTO: Thumbnails for Categories</title>
	<atom:link href="http://wpvibe.com/thumbnails-for-categories-180/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpvibe.com/thumbnails-for-categories-180/</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 14 Oct 2011 03:38:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: maxtron</title>
		<link>http://wpvibe.com/thumbnails-for-categories-180/#comment-173</link>
		<dc:creator>maxtron</dc:creator>
		<pubDate>Thu, 22 Apr 2010 21:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://wpvibe.com/?p=180#comment-173</guid>
		<description>please man I need some help I just want you to show me what do I have to put and where to have my posts the same as yours</description>
		<content:encoded><![CDATA[<p>please man I need some help I just want you to show me what do I have to put and where to have my posts the same as yours</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maxtron</title>
		<link>http://wpvibe.com/thumbnails-for-categories-180/#comment-172</link>
		<dc:creator>maxtron</dc:creator>
		<pubDate>Thu, 22 Apr 2010 21:03:32 +0000</pubDate>
		<guid isPermaLink="false">http://wpvibe.com/?p=180#comment-172</guid>
		<description>please man I can&#039;t make it work as yours, I tried and tried an could&#039;nt do anything, I&#039;m a completely noob and didn&#039;t understand where I had to put things, I didn&#039;t realise if I had to put it in the single.php or the index.php or ...?? well, I put all your code in the loop but all was terrible and the function you put for the images, I couldn&#039;t realise where they are located, please could you help me or send a tutorial more especific? here is my index.php:



		
			

				
					
						&lt;img src=&quot;/images/mainimage.jpg&quot; class=&quot;mainimage&quot; alt=&quot;Main image&quot; title=&quot;Main image&quot; /&gt;
					


	

		

					
						
							&lt;a href=&quot;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &quot;&gt;&lt;/a&gt;
						
						
							
								
							
							
								
							
						
						
							written by 
						
						
							
							
								
							
						

						
						

						
							
								
							
							
								
							
						
					

					


					

						

						&lt;?php next_posts_link(&#039;&#039;) ?&gt;
						&lt;?php previous_posts_link(&#039;&#039;) ?&gt;
					


						

							Not Found
							Sorry, but you are looking for something that isn&#039;t here.
							

					

			
		

				

		




</description>
		<content:encoded><![CDATA[<p>please man I can&#8217;t make it work as yours, I tried and tried an could&#8217;nt do anything, I&#8217;m a completely noob and didn&#8217;t understand where I had to put things, I didn&#8217;t realise if I had to put it in the single.php or the index.php or &#8230;?? well, I put all your code in the loop but all was terrible and the function you put for the images, I couldn&#8217;t realise where they are located, please could you help me or send a tutorial more especific? here is my index.php:</p>
<p>						&lt;img src=&quot;/images/mainimage.jpg&#8221; class=&#8221;mainimage&#8221; alt=&#8221;Main image&#8221; title=&#8221;Main image&#8221; /&gt;</p>
<p>							&lt;a href=&quot;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Permanent Link to &#8220;&gt;</p>
<p>							written by </p>
<p>						&lt;?php next_posts_link(&#039;&#8217;) ?&gt;<br />
						&lt;?php previous_posts_link(&#039;&#8217;) ?&gt;</p>
<p>							Not Found<br />
							Sorry, but you are looking for something that isn&#8217;t here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WP Tricks</title>
		<link>http://wpvibe.com/thumbnails-for-categories-180/#comment-171</link>
		<dc:creator>WP Tricks</dc:creator>
		<pubDate>Wed, 03 Mar 2010 14:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://wpvibe.com/?p=180#comment-171</guid>
		<description>Wonderful tutorial... I will tried this method</description>
		<content:encoded><![CDATA[<p>Wonderful tutorial&#8230; I will tried this method</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://wpvibe.com/thumbnails-for-categories-180/#comment-170</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sat, 20 Feb 2010 00:24:02 +0000</pubDate>
		<guid isPermaLink="false">http://wpvibe.com/?p=180#comment-170</guid>
		<description>oh! Sorry.

I&#039;ve gone one step further.

Today I created this function to automatically add a picture within the loop of the index.

function iconcat()
	{	
		$category = get_the_category();
		$nombrecat = $category[0]-&gt;cat_name;
		//quitamos la tilde
		$nombretcat = trim(strtolower(sintilde($nombrecat)));
		//quitamos los espacios
		$nombretcat = str_replace(&#039; &#039;, &#039;&#039;, $nombretcat);
		//imprimimos la imagen
		echo &#039;&#039;;
		
	}

thanks. your article has inspired me.

the example you can see on my website (section tuts)</description>
		<content:encoded><![CDATA[<p>oh! Sorry.</p>
<p>I&#8217;ve gone one step further.</p>
<p>Today I created this function to automatically add a picture within the loop of the index.</p>
<p>function iconcat()<br />
	{<br />
		$category = get_the_category();<br />
		$nombrecat = $category[0]-&gt;cat_name;<br />
		//quitamos la tilde<br />
		$nombretcat = trim(strtolower(sintilde($nombrecat)));<br />
		//quitamos los espacios<br />
		$nombretcat = str_replace(&#8216; &#8216;, &#8221;, $nombretcat);<br />
		//imprimimos la imagen<br />
		echo &#8221;;</p>
<p>	}</p>
<p>thanks. your article has inspired me.</p>
<p>the example you can see on my website (section tuts)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Dingman</title>
		<link>http://wpvibe.com/thumbnails-for-categories-180/#comment-169</link>
		<dc:creator>Jonathan Dingman</dc:creator>
		<pubDate>Sat, 20 Feb 2010 00:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://wpvibe.com/?p=180#comment-169</guid>
		<description>Peter,

Sorry, this is an English blog, so we can&#039;t respond in Spanish.  If you can leave a comment in English, we&#039;ll try our best to respond to you regarding your question.</description>
		<content:encoded><![CDATA[<p>Peter,</p>
<p>Sorry, this is an English blog, so we can&#8217;t respond in Spanish.  If you can leave a comment in English, we&#8217;ll try our best to respond to you regarding your question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://wpvibe.com/thumbnails-for-categories-180/#comment-168</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sat, 20 Feb 2010 00:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://wpvibe.com/?p=180#comment-168</guid>
		<description>Thank.
he ido un paso mas adelante.

Hoy he creado esta función para agregar una imagen automaticamente dentro del loop del index.

function iconcat()
	{	// extraemos el nombre de la categoria
		$category = get_the_category();
		$nombrecat = $category[0]-&gt;cat_name;
		//quitamos la tilde
		$nombretcat = trim(strtolower(sintilde($nombrecat)));
		//quitamos los espacios
		$nombretcat = str_replace(&#039; &#039;, &#039;&#039;, $nombretcat);
		//imprimimos la imagen
		echo &#039;&#039;;
	
	}

gracias. su articulo me ha servido de inspiración.   el ejemplo lo pueden ver en mi web (seccion tutos)</description>
		<content:encoded><![CDATA[<p>Thank.<br />
he ido un paso mas adelante.</p>
<p>Hoy he creado esta función para agregar una imagen automaticamente dentro del loop del index.</p>
<p>function iconcat()<br />
	{	// extraemos el nombre de la categoria<br />
		$category = get_the_category();<br />
		$nombrecat = $category[0]-&gt;cat_name;<br />
		//quitamos la tilde<br />
		$nombretcat = trim(strtolower(sintilde($nombrecat)));<br />
		//quitamos los espacios<br />
		$nombretcat = str_replace(&#8216; &#8216;, &#8221;, $nombretcat);<br />
		//imprimimos la imagen<br />
		echo &#8221;;</p>
<p>	}</p>
<p>gracias. su articulo me ha servido de inspiración.   el ejemplo lo pueden ver en mi web (seccion tutos)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dre Armeda</title>
		<link>http://wpvibe.com/thumbnails-for-categories-180/#comment-167</link>
		<dc:creator>Dre Armeda</dc:creator>
		<pubDate>Fri, 19 Feb 2010 15:31:40 +0000</pubDate>
		<guid isPermaLink="false">http://wpvibe.com/?p=180#comment-167</guid>
		<description>Hi Peter, any of the category pages listed in our main navigation will show you a list of posts. 

When you see a thumbnail that has the WPV logo and the category name, that is a default thumbnail called using this method.</description>
		<content:encoded><![CDATA[<p>Hi Peter, any of the category pages listed in our main navigation will show you a list of posts. </p>
<p>When you see a thumbnail that has the WPV logo and the category name, that is a default thumbnail called using this method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://wpvibe.com/thumbnails-for-categories-180/#comment-166</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 19 Feb 2010 14:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://wpvibe.com/?p=180#comment-166</guid>
		<description>add example please.

thank!</description>
		<content:encoded><![CDATA[<p>add example please.</p>
<p>thank!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Dingman</title>
		<link>http://wpvibe.com/thumbnails-for-categories-180/#comment-165</link>
		<dc:creator>Jonathan Dingman</dc:creator>
		<pubDate>Tue, 05 Jan 2010 17:23:13 +0000</pubDate>
		<guid isPermaLink="false">http://wpvibe.com/?p=180#comment-165</guid>
		<description>Right, it will let you do it on the fly, but again, it won&#039;t always give you exactly what you want (with TimThumb).

But you are also correct, the new features with 2.9 will indeed allow you to edit on the fly.

When I get a chance, I&#039;ll write another tutorial that let&#039;s you edit on the fly and use those as the thumbnail instead.

Thanks!</description>
		<content:encoded><![CDATA[<p>Right, it will let you do it on the fly, but again, it won&#8217;t always give you exactly what you want (with TimThumb).</p>
<p>But you are also correct, the new features with 2.9 will indeed allow you to edit on the fly.</p>
<p>When I get a chance, I&#8217;ll write another tutorial that let&#8217;s you edit on the fly and use those as the thumbnail instead.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stakabo</title>
		<link>http://wpvibe.com/thumbnails-for-categories-180/#comment-164</link>
		<dc:creator>stakabo</dc:creator>
		<pubDate>Tue, 05 Jan 2010 17:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://wpvibe.com/?p=180#comment-164</guid>
		<description>Timthumb would allow to resize images on the fly and not have to open photoshop every time. 

but now with WP 2.9, part of this code is obsolete. and beside, having to copy/paste image URL in a custom field is a pain. the new thumb function of WP is much better...


[code]
&lt;?php 

if ( has_post_thumbnail() ) {
     the_post_thumbnail();
} else {
     $newthumb = &quot;news.png&quot;;
     $category = get_the_category();
     $catid = $category[0]-&gt;category_nicename;
     $okCats = array( &#039;news&#039;, &#039;interviews&#039;, &#039;resources&#039;, &#039;reviews&#039; ); //Maybe even filter     this so it can be extended
     if ( in_array($catid, $okCats) ) {
          $newthumb = strtolower($catid) . &#039;.png&#039;;
     }
}
?&gt;

[/code] </description>
		<content:encoded><![CDATA[<p>Timthumb would allow to resize images on the fly and not have to open photoshop every time. </p>
<p>but now with WP 2.9, part of this code is obsolete. and beside, having to copy/paste image URL in a custom field is a pain. the new thumb function of WP is much better&#8230;</p>
<p>[code]<br />
&lt;?php </p>
<p>if ( has_post_thumbnail() ) {<br />
     the_post_thumbnail();<br />
} else {<br />
     $newthumb = &quot;news.png&quot;;<br />
     $category = get_the_category();<br />
     $catid = $category[0]-&gt;category_nicename;<br />
     $okCats = array( 'news', 'interviews', 'resources', 'reviews' ); //Maybe even filter     this so it can be extended<br />
     if ( in_array($catid, $okCats) ) {<br />
          $newthumb = strtolower($catid) . '.png';<br />
     }<br />
}<br />
?&gt;</p>
<p>[/code]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: wpvibe.com @ 2012-02-04 21:39:42 -->
