<?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: Adding Post Thumbnails in WordPress 2.5</title>
	<atom:link href="http://bloggingbits.com/post-thumbnails-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://bloggingbits.com/post-thumbnails-in-wordpress/</link>
	<description>Blog writing, marketing, and design</description>
	<lastBuildDate>Fri, 12 Mar 2010 12:44:48 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 10 Most Common Wordpress Posts &#124; New 2 Wp</title>
		<link>http://bloggingbits.com/post-thumbnails-in-wordpress/comment-page-2/#comment-161352</link>
		<dc:creator>10 Most Common Wordpress Posts &#124; New 2 Wp</dc:creator>
		<pubDate>Sun, 07 Mar 2010 05:07:36 +0000</pubDate>
		<guid isPermaLink="false">http://bloggingbits.com/post-thumbnails-in-wordpress/#comment-161352</guid>
		<description>[...] BLOGGING BITS  [...]</description>
		<content:encoded><![CDATA[<p>[...] BLOGGING BITS  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: breinane</title>
		<link>http://bloggingbits.com/post-thumbnails-in-wordpress/comment-page-2/#comment-160836</link>
		<dc:creator>breinane</dc:creator>
		<pubDate>Wed, 03 Mar 2010 22:42:05 +0000</pubDate>
		<guid isPermaLink="false">http://bloggingbits.com/post-thumbnails-in-wordpress/#comment-160836</guid>
		<description>right, i give up, i post it on the website, top article, sorry about this !!!!! :&#039;(</description>
		<content:encoded><![CDATA[<p>right, i give up, i post it on the website, top article, sorry about this !!!!! :&#8217;(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: breinane</title>
		<link>http://bloggingbits.com/post-thumbnails-in-wordpress/comment-page-2/#comment-160834</link>
		<dc:creator>breinane</dc:creator>
		<pubDate>Wed, 03 Mar 2010 22:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://bloggingbits.com/post-thumbnails-in-wordpress/#comment-160834</guid>
		<description>dammit i start feeling silly now, not knowing how to post code here ... grrrr..

&lt;code&gt; ID, &quot;thumb&quot;, true);
if ( ($thumb != &quot;&quot;) &#124;&#124; is_home() &#124;&#124; is_archive() )
{ ?&gt;
&lt;a href=&quot;&quot; title=&quot;&quot;&gt;
&lt;img src=&quot;&quot; alt=&quot;&quot; class=&quot;thumb&quot; /&gt;
&lt;/a&gt;
 &gt; ]&#039;); ?&gt;

 &gt; ]&#039;); ?&gt;

&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>dammit i start feeling silly now, not knowing how to post code here &#8230; grrrr..</p>
<p><code> ID, "thumb", true);<br />
if ( ($thumb != "") || is_home() || is_archive() )<br />
{ ?&gt;<br />
&lt;a href=&quot;" title=""&gt;<br />
&lt;img src=&quot;" alt="" class="thumb" /&gt;</p>
<p> &gt; ]'); ?&gt;</p>
<p> &gt; ]'); ?&gt;</p>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: breinane</title>
		<link>http://bloggingbits.com/post-thumbnails-in-wordpress/comment-page-2/#comment-160829</link>
		<dc:creator>breinane</dc:creator>
		<pubDate>Wed, 03 Mar 2010 22:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://bloggingbits.com/post-thumbnails-in-wordpress/#comment-160829</guid>
		<description>ooooups !!!

[code]
ID, &quot;thumb&quot;, true);
if ( ($thumb != &quot;&quot;) &#124;&#124; is_home() &#124;&#124; is_archive() )
{ ?&gt;
&lt;a href=&quot;&quot; title=&quot;&quot;&gt;
&lt;img src=&quot;&quot; alt=&quot;&quot; class=&quot;thumb&quot; /&gt;
&lt;/a&gt;
 &gt; ]&#039;); ?&gt;

 &gt; ]&#039;); ?&gt;

[/code]</description>
		<content:encoded><![CDATA[<p>ooooups !!!</p>
<p>[code]<br />
ID, "thumb", true);<br />
if ( ($thumb != "") || is_home() || is_archive() )<br />
{ ?&gt;<br />
&lt;a href=&quot;" title=""&gt;<br />
&lt;img src=&quot;" alt="" class="thumb" /&gt;</p>
<p> &gt; ]'); ?&gt;</p>
<p> &gt; ]'); ?&gt;</p>
<p>[/code]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: breinane</title>
		<link>http://bloggingbits.com/post-thumbnails-in-wordpress/comment-page-2/#comment-160828</link>
		<dc:creator>breinane</dc:creator>
		<pubDate>Wed, 03 Mar 2010 22:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://bloggingbits.com/post-thumbnails-in-wordpress/#comment-160828</guid>
		<description>heya, thank you very much for this !!!

i am having troubles tho, somehow the EXCERPT function does not work properly any more ...

look at my HOME page - the top article is an article with excerpt text, but it is not used. And the excerpts are linking to excerpts only.

i tried to change the code (sorry NO expert !!!) like this:

ID, &quot;thumb&quot;, true);
if ( ($thumb != &quot;&quot;) &#124;&#124; is_home() &#124;&#124; is_archive() )
{ ?&gt;
&lt;a href=&quot;&quot; title=&quot;&quot;&gt;
&lt;img src=&quot;&quot; alt=&quot;&quot; class=&quot;thumb&quot; /&gt;
&lt;/a&gt;
 &gt; ]&#039;); ?&gt;

 &gt; ]&#039;); ?&gt;


but it wont work :( any ideas</description>
		<content:encoded><![CDATA[<p>heya, thank you very much for this !!!</p>
<p>i am having troubles tho, somehow the EXCERPT function does not work properly any more &#8230;</p>
<p>look at my HOME page &#8211; the top article is an article with excerpt text, but it is not used. And the excerpts are linking to excerpts only.</p>
<p>i tried to change the code (sorry NO expert !!!) like this:</p>
<p>ID, &#8220;thumb&#8221;, true);<br />
if ( ($thumb != &#8220;&#8221;) || is_home() || is_archive() )<br />
{ ?&gt;<br />
&lt;a href=&quot;&#8221; title=&#8221;"&gt;<br />
&lt;img src=&quot;&#8221; alt=&#8221;" class=&#8221;thumb&#8221; /&gt;</p>
<p> &gt; ]&#8217;); ?&gt;</p>
<p> &gt; ]&#8217;); ?&gt;</p>
<p>but it wont work <img src='http://bloggingbits.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  any ideas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mintori</title>
		<link>http://bloggingbits.com/post-thumbnails-in-wordpress/comment-page-2/#comment-153889</link>
		<dc:creator>mintori</dc:creator>
		<pubDate>Mon, 25 Jan 2010 06:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://bloggingbits.com/post-thumbnails-in-wordpress/#comment-153889</guid>
		<description>I still confuse with this plugin installed, I try to install this plugin but my themes broken whats wrong ?</description>
		<content:encoded><![CDATA[<p>I still confuse with this plugin installed, I try to install this plugin but my themes broken whats wrong ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muxx</title>
		<link>http://bloggingbits.com/post-thumbnails-in-wordpress/comment-page-2/#comment-149286</link>
		<dc:creator>Muxx</dc:creator>
		<pubDate>Tue, 05 Jan 2010 00:40:41 +0000</pubDate>
		<guid isPermaLink="false">http://bloggingbits.com/post-thumbnails-in-wordpress/#comment-149286</guid>
		<description>Just an update.

The thumbnail size is available in Settings -&gt; Media Settings in Wordpress 2.9

:)</description>
		<content:encoded><![CDATA[<p>Just an update.</p>
<p>The thumbnail size is available in Settings -&gt; Media Settings in Wordpress 2.9</p>
<p> <img src='http://bloggingbits.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 5 Trends of Popular WordPress Blogs &#124; Evanny</title>
		<link>http://bloggingbits.com/post-thumbnails-in-wordpress/comment-page-2/#comment-143928</link>
		<dc:creator>5 Trends of Popular WordPress Blogs &#124; Evanny</dc:creator>
		<pubDate>Sat, 12 Dec 2009 08:41:01 +0000</pubDate>
		<guid isPermaLink="false">http://bloggingbits.com/post-thumbnails-in-wordpress/#comment-143928</guid>
		<description>[...] blog and using Custom Fields to add and display them on your front page. Also, check out another Custom Fields thumbnail tutorial.2.2 Post Thumb Revisited (WordPress Plug-in)There is a nice WordPress plug-in that scan posts for [...]</description>
		<content:encoded><![CDATA[<p>[...] blog and using Custom Fields to add and display them on your front page. Also, check out another Custom Fields thumbnail tutorial.2.2 Post Thumb Revisited (WordPress Plug-in)There is a nice WordPress plug-in that scan posts for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Davis</title>
		<link>http://bloggingbits.com/post-thumbnails-in-wordpress/comment-page-2/#comment-140780</link>
		<dc:creator>Bob Davis</dc:creator>
		<pubDate>Tue, 24 Nov 2009 19:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://bloggingbits.com/post-thumbnails-in-wordpress/#comment-140780</guid>
		<description>I came up with a modified more automatic version.  There is some stuff about it on my blog at bobdavis321 on blogspot.  Basically It uses the built in thumbnail and automatically finds it from searching through the post for the first image.

here is the function code;
/* For Getting the Image FASTER */
//GET-POST-IMAGE1 quicker than the script by Tim McDaniels

function get_post_image1 ($post_id=0, $width=0, $height=0, $img_script=&#039;&#039;) {
  global $wpdb;
  if($post_id &gt; 0) {
    $sql = &#039;SELECT post_content FROM &#039; . $wpdb-&gt;posts . &#039; WHERE id = &#039; . $wpdb-&gt;escape($post_id);
    $row = $wpdb-&gt;get_row($sql);
    $the_content = $row-&gt;post_content;
    if(strlen($the_content)) {
      preg_match(&quot;//&quot;, $the_content, $matches);
      if(!$matches) {
	preg_match(&quot;//U&quot;, $the_content, $matches);	}
	$the_image_ext = substr($matches[2],-4);
	if ($the_image_ext == &quot;.JPG&quot;) {
           $the_image_ext = &quot;.jpg&quot;; }
	$the_image_num = substr($matches[2],-11,-7);
	$the_image_src = substr($matches[2],0,-4);
	$the_image_150 = $the_image_src . &#039;-150x150&#039; . $the_image_ext;
	$the_image_src = substr($matches[2],0,-12);
	$the_image_300 = $the_image_src . &#039;-150x150&#039; . $the_image_ext;
	$the_image_raw = $matches[2];
        if ($the_image_num==&quot;150x&quot; &#124;&#124; $the_image_num==&quot;300x&quot; &#124;&#124; $the_image_num==&quot;600x&quot; ) {
	  $the_image = &#039;&#039;;
          } else {
          $the_image = &#039;&#039;;	
                 }
        return $the_image;
      }
    }
  }</description>
		<content:encoded><![CDATA[<p>I came up with a modified more automatic version.  There is some stuff about it on my blog at bobdavis321 on blogspot.  Basically It uses the built in thumbnail and automatically finds it from searching through the post for the first image.</p>
<p>here is the function code;<br />
/* For Getting the Image FASTER */<br />
//GET-POST-IMAGE1 quicker than the script by Tim McDaniels</p>
<p>function get_post_image1 ($post_id=0, $width=0, $height=0, $img_script=&#8221;) {<br />
  global $wpdb;<br />
  if($post_id &gt; 0) {<br />
    $sql = &#8216;SELECT post_content FROM &#8216; . $wpdb-&gt;posts . &#8216; WHERE id = &#8216; . $wpdb-&gt;escape($post_id);<br />
    $row = $wpdb-&gt;get_row($sql);<br />
    $the_content = $row-&gt;post_content;<br />
    if(strlen($the_content)) {<br />
      preg_match(&#8221;//&#8221;, $the_content, $matches);<br />
      if(!$matches) {<br />
	preg_match(&#8221;//U&#8221;, $the_content, $matches);	}<br />
	$the_image_ext = substr($matches[2],-4);<br />
	if ($the_image_ext == &#8220;.JPG&#8221;) {<br />
           $the_image_ext = &#8220;.jpg&#8221;; }<br />
	$the_image_num = substr($matches[2],-11,-7);<br />
	$the_image_src = substr($matches[2],0,-4);<br />
	$the_image_150 = $the_image_src . &#8216;-150&#215;150&#8242; . $the_image_ext;<br />
	$the_image_src = substr($matches[2],0,-12);<br />
	$the_image_300 = $the_image_src . &#8216;-150&#215;150&#8242; . $the_image_ext;<br />
	$the_image_raw = $matches[2];<br />
        if ($the_image_num==&#8221;150x&#8221; || $the_image_num==&#8221;300x&#8221; || $the_image_num==&#8221;600x&#8221; ) {<br />
	  $the_image = &#8221;;<br />
          } else {<br />
          $the_image = &#8221;;<br />
                 }<br />
        return $the_image;<br />
      }<br />
    }<br />
  }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Crazy69</title>
		<link>http://bloggingbits.com/post-thumbnails-in-wordpress/comment-page-2/#comment-134428</link>
		<dc:creator>Crazy69</dc:creator>
		<pubDate>Thu, 22 Oct 2009 20:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://bloggingbits.com/post-thumbnails-in-wordpress/#comment-134428</guid>
		<description>I dont really care one way or another. ,</description>
		<content:encoded><![CDATA[<p>I dont really care one way or another. ,</p>
]]></content:encoded>
	</item>
</channel>
</rss>
