<?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; template</title>
	<atom:link href="http://wpfunc.com/tag/template/feed" rel="self" type="application/rss+xml" />
	<link>http://wpfunc.com</link>
	<description>Awesome, Quick, Simple WordPress Functions!</description>
	<lastBuildDate>Thu, 01 Dec 2011 01:17:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to change dashboard footer texts?</title>
		<link>http://wpfunc.com/wordpress/how-to-change-dashboard-footer-texts.html</link>
		<comments>http://wpfunc.com/wordpress/how-to-change-dashboard-footer-texts.html#comments</comments>
		<pubDate>Tue, 19 Jan 2010 20:23:31 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[footer links]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[hide]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress dashboard]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=371</guid>
		<description><![CDATA[When you build a theme you can use this code for hide/remove WordPress Dashboard&#8217;s links. you have to add this code into your theme&#8217;s functions.php. After that you can write your own text with dashboard footer. Let&#8217;s Begin&#8230;
Here is the code;
Don&#8217;t forget. You will add this code into your theme&#8217;s functions.php. Have a nice day!
]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">When you build a theme you can use this code for hide/remove WordPress Dashboard&#8217;s links. you have to add this code into your theme&#8217;s functions.php. After that you can write your own text with dashboard footer. Let&#8217;s Begin&#8230;<span id="more-371"></span></p>
<h3>Here is the code;</h3>
<pre class="brush: php; title: ; notranslate">function remove_footer_admin () {
    echo &quot;Your own text&quot;;
}
add_filter('admin_footer_text', 'remove_footer_admin');
</pre>
<p style="text-align: justify;">Don&#8217;t forget. You will add this code into your<em><span style="color: #ff0000;"><strong> theme&#8217;s functions.php</strong></span></em>. Have a nice day!</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/how-to-change-dashboard-footer-texts.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple Sticky Posts!</title>
		<link>http://wpfunc.com/wordpress/simple-sticky-posts.html</link>
		<comments>http://wpfunc.com/wordpress/simple-sticky-posts.html#comments</comments>
		<pubDate>Sat, 19 Dec 2009 18:58:45 +0000</pubDate>
		<dc:creator></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 [...]]]></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; title: ; notranslate">&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; title: ; notranslate">    &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>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/simple-sticky-posts.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Display who modify your post(s)!</title>
		<link>http://wpfunc.com/wordpress/display-who-modify-your-posts.html</link>
		<comments>http://wpfunc.com/wordpress/display-who-modify-your-posts.html#comments</comments>
		<pubDate>Thu, 10 Sep 2009 19:57:04 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[author]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[funciton]]></category>
		<category><![CDATA[moderate]]></category>
		<category><![CDATA[modify]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[writer]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=161</guid>
		<description><![CDATA[You can display who modarate/modify your post. This mean show the latest author who modified your post. We can use 2.8&#8242;s new template tag &#8216;the_modified_author()&#8216;. If you use Wp 2.8 you can use a simple code but, if you use Wp 2.7 you have to use this function below. Lets Begin :)
Here is the code;

Firstly [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify; ">You can display who modarate/modify your post. This mean show the latest author who modified your post. We can use 2.8&#8242;s new template tag <strong><span style="color: #ff0000;">&#8216;the_modified_author()</span></strong>&#8216;. If you use Wp 2.8 you can use a simple code but, if you use Wp 2.7 you have to use this function below. Lets Begin :)<span id="more-161"></span></p>
<h1>Here is the code;</h1>
<p style="text-align: justify; "><span class="alert">With this function we will change our templates <strong>funcitons.php</strong>. If you don&#8217;t know about WordPress or PHp coding, please don&#8217;t touch this file. If you any questions about that, contact me :)</span></p>
<p style="text-align: justify; ">Firstly you shuold make a backup of <em><strong><span style="color: #ff0000;">functions.php</span></strong></em><em><strong> (path: wp-contect/themes/your-theme/funcitons.php). </strong><span style="font-style: normal;">After copy this code to end of file:</span></em></p>
<p style="text-align: justify; "><em><span style="font-style: normal;"> </span></em></p>
<p><em> </em></p>
<pre class="brush: plain; title: ; notranslate">if (!function_exists('get_the_modified_author')) {
  function get_the_modified_author() {
    global $post;
    if ( $last_id = get_post_meta($post-&gt;ID, '_edit_last', true) ) {
      $last_user = get_userdata($last_id);
      return apply_filters('the_modified_author', $last_user-&gt;display_name);
    }
  }
}

if (!function_exists('the_modified_author')) {
  function the_modified_author() {
    echo get_the_modified_author();
  }
}
</pre>
<p>After that you can save and upload this to your web server. Than you can use this code anywhere <strong><em>(single.php, index.php etc.</em></strong>):</p>
<p><span style="font-style: normal; "> </span></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php the_modified_author(); ?&gt;</pre>
<p>That&#8217;s All! Have a nice day!</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/display-who-modify-your-posts.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

