<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Creativz Lab &#187; excerpt</title>
	<atom:link href="http://creativeslab.net/tag/excerpt/feed" rel="self" type="application/rss+xml" />
	<link>http://creativeslab.net</link>
	<description>weblog for Developers &#38; Designers</description>
	<lastBuildDate>Sun, 19 Dec 2010 17:40:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Get Excerpt with Thumbnail Image &#8211; WordPress Plug-in</title>
		<link>http://creativeslab.net/get-excerpt-with-thumb</link>
		<comments>http://creativeslab.net/get-excerpt-with-thumb#comments</comments>
		<pubDate>Fri, 17 Jul 2009 10:50:25 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[social networking]]></category>
		<category><![CDATA[social web]]></category>
		<category><![CDATA[webtrends]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[excerpt]]></category>
		<category><![CDATA[excerpt thugms]]></category>
		<category><![CDATA[thumb images]]></category>

		<guid isPermaLink="false">http://creativeslab.net/?p=303</guid>
		<description><![CDATA[<span style="padding-left: 20px">Get Excerpt with Thumbnail</span> images is a simple wordpress plugin. It gives thumbnail image, excerpt and title of Wordpress post, in the form PHP array. It is upto the developer how he can display these info on his web page.]]></description>
			<content:encoded><![CDATA[<p>
<span style="padding-left: 30px">Get Excerpt with Thumbnail</span> images is a simple wordpress plugin. It gives thumbnail image, excerpt and title of WordPress post, in the form PHP array. It is upto the developer how he can display these info on his web page.
</p>
<p>
<span style="padding-left: 30px">Simple</span> to use Get Excerpts with Thumbnail plugin uses meta data of wordpress post, to retrieve thumbnail image. It also uses another plug-in named <a href="http://www.webspaceworks.com/resources/wordpress/44/">Content Extract</a> by <a href="http://www.webspaceworks.com">Rob Shumann</a>, to retrieve excerpt from POST. You need install Content Extract plugin before start working with this plugin.
</p>
<p>
<span style="padding-left: 30px">Inspite</span> of having found numerous plugins to get excerpts along with thumbnail images in WordPress plugin directory. I have written this plugin to reduce number of requests that are made to MySQL database while fetching data.
</p>
<p>
== Installation ==<br />
Install <a href="http://www.webspaceworks.com/resources/wordpress/44/">Content Extract</a> by <a href="http://www.webspaceworks.com">Rob Shumann</a>, before installing this plugin.<br />
The plugin is simple to install:<br />
<br />
1. Download the zip file, from <a href="http://wordpress.org/extend/plugins/get-excerpt-with-thumbnail-images/">wordpress plugin directory</a><br />
2. Unpack the zip.<br />
3. Extract zip file and upload directory present in zip file to the `wp-content/plugins` directory on your WordPress installation.<br />
4. Activate plugin<br />
5. Go to Settings -&gt; Get Excerpt with Thumbnail page, to change configuration for the plug-in.
</p>
<p>
<strong>Configuration of Plug-in:</strong>
</p>
<p>
<span style="padding-left: 30px;">Goto Settings -&gt; Get Excerpt With Thumbnail link in your wordpress admin page.</span><br />
Following four elements need to be configured.<br />
1) Thumbnail CSS Class -&gt; this is .css class name to be used by this plug-in. By default, CSS class name is displayed as &#8216;imgstyle&#8217;, change this to your desired class name and make sure it is defined in .css file of your wordpress theme.<br />
2) More Text -&gt; link that appears next to excerpt to read full post.<br />
3) Post Length -&gt; Inspite of reading entire post to retrieve excerpt, plugin just reads number of characters entered by you in this field.<br />
Note: Once an excerpt is generated by this plugin, it will be stored in excerpt field of your wordpress post.<br />
4) Excerpt Length -&gt; Length of excerpt to be displayed.<br />
Note: Always make suer Post Length is greater than or equal to Excerpt Length.
</p>
<p>Sample usage of this plugin:</p>
<p>
<span style="padding-left: 30px"><br />
while (have_posts()) {<br />
       the_post();<br />
$data = getExcerptsWithThumbnail();<br />
echo  $data['post_thumbnail'] . &#8216;&lt;h5&gt;&#8217; . $data['post_title'] . &#8216;&lt;/h5&gt;&#8217;  .  $data['post_excerpt'] ;<br />
}<br />
</span>
</p>
<p>
<span style="padding-left: 30px;"><br />
In above code snippet,</span> you can see getExcerptsWithThumbnail() function returns an array.<br />
code snippet uses &lt;h5&gt; tag to display title of the post, you can use any of the style you want, for the presentation of thumbnail image along with excerpt.</p>
<p>
Screen shot of the plugin, when Thumbnail Image position is used as &#8216;float:left&#8217;
</p>
<p><img src="http://creativeslab.net/wp-content/uploads/2009/07/scree1-300x160.jpg" alt="scree1" width="300" height="160" class="aligncenter size-medium wp-image-310" /></p>
<p>
Screen shot of plugin, when Thumbnail Image position is used as &#8216;float:right&#8217;
</p>
<p><img src="http://creativeslab.net/wp-content/uploads/2009/07/scree2.jpg" alt="scree2" width="646" height="428" class="aligncenter size-full wp-image-311" /></p>
<p>
Get Excerpt with Thumbnail plugin just gives data, presentation of this data on theme pages is left to theme developer.
</p>
<p>
Reference: see category or tag pages on <a href="http://searchandhra.com">SearchAndhra.com</a> to check how this plugin is used.</p>
<p>
Please place your queries as comments to this post, so that i can reply to you.</p>
]]></content:encoded>
			<wfw:commentRss>http://creativeslab.net/get-excerpt-with-thumb/feed</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>

