<?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>WpFunc &#187; featured</title>
	<atom:link href="http://www.wpfunc.com/tag/featured/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpfunc.com</link>
	<description>Awesome, Quick, Simple WordPress Functions!</description>
	<lastBuildDate>Fri, 09 Jul 2010 09:05:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Simple Sticky Posts!</title>
		<link>http://www.wpfunc.com/wordpress/simple-sticky-posts.html</link>
		<comments>http://www.wpfunc.com/wordpress/simple-sticky-posts.html#comments</comments>
		<pubDate>Sat, 19 Dec 2009 18:58:45 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[extra area]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[featured.php]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[sticky posts]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=327</guid>
		<description><![CDATA[Sitcky posts are best way to show your featured content. But some themes don&#8217;t support extra area for that. You can create empty area with this code. Simply usage, you can change css and codes if you want. Let&#8217;s begin&#8230;
Here is the code;
Firstly we call the extra .php file for this. You can apply this [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/related-posts-with-thumbnails.html' rel='bookmark' title='Permanent Link: Related Posts With Thumbnails'>Related Posts With Thumbnails</a></li>
<li><a href='http://www.wpfunc.com/general/related-posts-without-any-plugin.html' rel='bookmark' title='Permanent Link: Related Posts, Without any Plugin!'>Related Posts, Without any Plugin!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/create-a-shortcode-for-displaying-the-loop.html' rel='bookmark' title='Permanent Link: Create a shortcode for displaying the Loop'>Create a shortcode for displaying the Loop</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Sitcky posts are best way to show your featured content. But some themes don&#8217;t support extra area for that. You can create empty area with this code. Simply usage, you can change css and codes if you want. Let&#8217;s begin&#8230;<span id="more-327"></span></p>
<h3>Here is the code;</h3>
<p>Firstly we call the extra<strong><span style="color: #ff0000;"> .php</span></strong> file for this. You can apply this code where you want;</p>
<pre class="brush: php;">&lt;?php if(is_home() !is_paged()): ?&gt;
&lt;?php // Featured posts go here.
include (TEMPLATEPATH . &quot;/featured.php&quot;); ?&gt;
&lt;?php endif;?&gt;
</pre>
<p>That&#8217;s calling function and here is the page code;</p>
<p style="text-align: justify;">Firstly create a <strong><span style="color: #ff0000;">featured.php</span></strong> and upload into <span style="color: #ff0000;"><strong>wp-content/themes/<em>your-theme</em>/</strong></span> .  Change category number with your featured content category number. Insert this code into file&#8230;</p>
<h3><strong>Code&#8230;</strong></h3>
<pre class="brush: php;">    &lt;!-- start Featured --&gt;
&lt;?php query_posts(&quot;showposts=1&amp;cat=6&quot;); ?&gt;
&lt;?php while (have_posts()) : the_post(); ?&gt;
&lt;div id=&quot;featured&quot;&gt;
&lt;div id=&quot;featured2&quot;&gt;
&lt;div id=&quot;featurediv&quot;&gt;
&lt;div class=&quot;epic&quot;&gt;
&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Continue reading &lt;?php the_title(); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php $values = get_post_custom_values(&quot;Thumbnail&quot;); echo $values[0]; ?&gt;&quot; alt=&quot;Continue reading &lt;?php the_title(); ?&gt;&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;etext&quot;&gt;
&lt;div class=&quot;ehead&quot;&gt;
&lt;h2&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Continue reading &lt;?php the_title(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;entryinfo&quot;&gt;&lt;?php edit_post_link('Edit', '', ' |'); ?&gt; Posted by &lt;strong&gt;&lt;?php the_author(); ?&gt;&lt;/strong&gt; on &lt;?php the_time('d M Y'); ?&gt; under &lt;?php the_category(', ') ?&gt; | &lt;?php comments_popup_link('0 Comments', '1 Comment', '% Comments'); ?&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post&quot;&gt;
&lt;?php the_excerpt(); ?&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;clearer&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;?php endwhile; ?&gt;&lt;!-- end Featured --&gt;</pre>
<p>That&#8217;s All!</p>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fsimple-sticky-posts.html&amp;title=Simple%20Sticky%20Posts%21&amp;notes=Sitcky%20posts%20are%20best%20way%20to%20show%20your%20featured%20content.%20But%20some%20themes%20don%27t%20support%20extra%20area%20for%20that.%20You%20can%20create%20empty%20area%20with%20this%20code.%20Simply%20usage%2C%20you%20can%20change%20css%20and%20codes%20if%20you%20want.%20Let%27s%20begin...%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0AFirstly'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fsimple-sticky-posts.html&amp;title=Simple%20Sticky%20Posts%21&amp;bodytext=Sitcky%20posts%20are%20best%20way%20to%20show%20your%20featured%20content.%20But%20some%20themes%20don%27t%20support%20extra%20area%20for%20that.%20You%20can%20create%20empty%20area%20with%20this%20code.%20Simply%20usage%2C%20you%20can%20change%20css%20and%20codes%20if%20you%20want.%20Let%27s%20begin...%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0AFirstly'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fsimple-sticky-posts.html&amp;t=Simple%20Sticky%20Posts%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=Simple%20Sticky%20Posts%21&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fsimple-sticky-posts.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fsimple-sticky-posts.html&amp;title=Simple%20Sticky%20Posts%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fsimple-sticky-posts.html&amp;title=Simple%20Sticky%20Posts%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fsimple-sticky-posts.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fsimple-sticky-posts.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fsimple-sticky-posts.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/related-posts-with-thumbnails.html' rel='bookmark' title='Permanent Link: Related Posts With Thumbnails'>Related Posts With Thumbnails</a></li>
<li><a href='http://www.wpfunc.com/general/related-posts-without-any-plugin.html' rel='bookmark' title='Permanent Link: Related Posts, Without any Plugin!'>Related Posts, Without any Plugin!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/create-a-shortcode-for-displaying-the-loop.html' rel='bookmark' title='Permanent Link: Create a shortcode for displaying the Loop'>Create a shortcode for displaying the Loop</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/simple-sticky-posts.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
