<?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; Facebook</title>
	<atom:link href="http://wpfunc.com/tag/facebook/feed" rel="self" type="application/rss+xml" />
	<link>http://wpfunc.com</link>
	<description>Awesome, Quick, Simple WordPress Functions!</description>
	<lastBuildDate>Sun, 06 May 2012 02:21:37 +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>Show timestamps like social networks!</title>
		<link>http://wpfunc.com/wordpress/show-timestamps-like-social-networks.html</link>
		<comments>http://wpfunc.com/wordpress/show-timestamps-like-social-networks.html#comments</comments>
		<pubDate>Mon, 12 Apr 2010 17:12:45 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[functions.php]]></category>
		<category><![CDATA[social networks]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[timestamp]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=418</guid>
		<description><![CDATA[You can show your timestamps like other social networks. With this simple and awesome trick, you can change long date and time stamps with ex. twitter&#8217;s &#8220;1 min ago&#8220;. Lets begin&#8230; Here is the code; Add this code into your theme&#8217;s functions.php; After that call this function wherever you want! That&#8217;s All! Have a nice [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">You can show your timestamps like other social networks. With this simple and awesome trick, you can change long date and time stamps with ex. twitter&#8217;s &#8220;<strong>1 min ago</strong>&#8220;. Lets begin&#8230;<span id="more-418"></span></p>
<h3>Here is the code;</h3>
<p style="text-align: justify;">Add this code into your theme&#8217;s functions.php;</p>
<pre class="brush: php; title: ; notranslate">function time_ago( $type = 'post' ) {
	$d = 'comment' == $type ? 'get_comment_time' : 'get_post_time';

	return human_time_diff($d('U'), current_time('timestamp')) . &quot; &quot; . __('ago');

}</pre>
<p style="text-align: justify;">After that call this function wherever you want!</p>
<pre class="brush: php; title: ; notranslate">&lt;?php echo time_ago(); ?&gt;</pre>
<p style="text-align: justify;">That&#8217;s All! Have a nice day.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/show-timestamps-like-social-networks.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Social Bookmarks Bar into your Blog!</title>
		<link>http://wpfunc.com/wordpress/add-social-bookmarks-bar-into-your-blog.html</link>
		<comments>http://wpfunc.com/wordpress/add-social-bookmarks-bar-into-your-blog.html#comments</comments>
		<pubDate>Wed, 14 Oct 2009 15:18:02 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[delicious]]></category>
		<category><![CDATA[digg]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[furl]]></category>
		<category><![CDATA[reddit]]></category>
		<category><![CDATA[social bar]]></category>
		<category><![CDATA[social bookmark]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=258</guid>
		<description><![CDATA[We don&#8217;t use any plugin. We&#8217;ll only edit single.php and style.css with this code. I will give you a zip file. In this zip file you&#8217;ll find social bookmark sites logos. Let&#8217;s Begin&#8230; Here is the code; First, download your theme&#8217;s single.php and open it. After that add tihs code to below of content area. [...]]]></description>
			<content:encoded><![CDATA[<p>We don&#8217;t use any plugin. We&#8217;ll only edit <span style="color: #ff0000;"><strong>single.php</strong></span> and <span style="color: #ff0000;"><strong>style.css</strong></span> with this code. I will give you a zip file. In this zip file you&#8217;ll find social bookmark sites logos. Let&#8217;s Begin&#8230;<span id="more-258"></span></p>
<h3>Here is the code;</h3>
<p style="text-align: justify;"><span class="alert">With this code we will change our theme&#8217;s <strong>single.php</strong> and <strong>style.css</strong> files. <span style="text-decoration: underline;"><em>If you don&#8217;t know about WordPress or PHP coding please don&#8217;t touch this files</em></span>. <em><strong>And Make a backup before all changes</strong></em>.</span></p>
<p style="text-align: justify;">First, download your theme&#8217;s<span style="color: #ff0000;"><strong> single.php</strong></span> and open it. After that add tihs code to below of content area.</p>
<pre class="brush: php; title: ; notranslate">&lt;div class=&quot;socials&quot;&gt;
&lt;a class=&quot;btn_email&quot; href=&quot;mailto:?subject=&lt;?php the_title(); ?&gt;&amp;amp;body=&lt;?php the_permalink() ?&gt;&quot;&gt;E-mail&lt;/a&gt;
&lt;a class=&quot;btn_comment&quot; href=&quot;#respond&quot;&gt;Comment&lt;/a&gt;
&lt;a href=&quot;http://del.icio.us/post?url=&lt;?php the_permalink() ?&gt;&amp;amp;title=&lt;?php the_title() ?&gt;&quot; title=&quot;Submit to Del.icio.us&quot; target=&quot;_blank&quot; class=&quot;btn_delicious&quot;&gt;Del.icio.us&lt;/a&gt;
&lt;a href=&quot;http://www.digg.com/submit?phase=2&amp;amp;url=&lt;?php the_permalink() ?&gt;&amp;amp;title=&lt;?php the_title() ?&gt;&quot; title=&quot;Submit Post to Digg&quot; target=&quot;_blank&quot; class=&quot;btn_digg&quot;&gt;Digg&lt;/a&gt;
&lt;a href=&quot;http://reddit.com/submit?url=&lt;?php the_permalink() ?&gt;&amp;amp;title=&lt;?php the_title() ?&gt;&quot; title=&quot;Submit Reddit&quot; target=&quot;_blank&quot; class=&quot;btn_reddit&quot;&gt;Reddit&lt;/a&gt;
&lt;a href=&quot;http://technorati.com/faves?add=&lt;?php the_permalink() ?&gt;&quot; title=&quot;Submit to Technorati&quot; target=&quot;_blank&quot; class=&quot;btn_technorati&quot;&gt;Technorati&lt;/a&gt;
&lt;a href=&quot;http://furl.net/storeIt.jsp?t=&lt;?php the_title() ?&gt;&amp;amp;u=&lt;?php the_permalink() ?&gt;&quot; title=&quot;Submit to Furl&quot; target=&quot;_blank&quot; class=&quot;btn_furl&quot;&gt;Furl&lt;/a&gt;
&lt;a href=&quot;http://www.facebook.com/sharer.php?u=&lt;?php the_permalink();?&gt;&quot;&amp;t=&quot;&lt;?php the_title(); ?&gt;&quot; target=&quot;blank&quot; class=&quot;btn_face&quot;&gt; Facebook&lt;/a&gt;
&lt;/div&gt;</pre>
<p style="text-align: justify;">After you add tihs code to<span style="color: #ff0000;"><strong> single.php</strong></span>, save the file and download your <em><strong>theme&#8217;s</strong></em> <span style="color: #ff0000;"><strong>style.css</strong></span> and open it. When you open, add this code to end of file;</p>
<pre class="brush: css; title: ; notranslate">/* Social Bookmarks Style Start */
.socials {font-size:10px; font-weight:bold; margin-bottom:10px; background-color:#FFFFFF; border:1px solid #BBB9B2; padding:5px 5px 5px 10px; width:575px;}
.socials a {margin-right:10px; color:#BFBCB3;}
.btn_email {background:url(images/mail.gif) left no-repeat; padding-left:15px;}
.btn_comment {background:url(images/comments.gif) left no-repeat; padding-left:15px;}
.btn_delicious {background:url(images/delicious.gif) left no-repeat; padding-left:15px;}
.btn_digg {background:url(images/digg.gif) left no-repeat; padding-left:15px;}
.btn_reddit {background:url(images/reddit.gif) left no-repeat; padding-left:15px;}
.btn_technorati {background:url(images/technorati.gif) left no-repeat; padding-left:15px;}
.btn_furl {background:url(images/furl.gif) left no-repeat; padding-left:15px;}
.btn_face {background:url(images/facebook.jpg) left no-repeat; padding-left:15px;}
/* Social Bookmarks Style End */</pre>
<p style="text-align: justify;"><em><strong>Download</strong></em> this file and upload images to your <span style="text-decoration: underline;"><span style="color: #ff0000;"><strong>theme&#8217;s images</strong></span></span> folder.</p>
<p style="text-align: justify;">Note: There is a file embedded within this post, please visit this post to download the file.</p>
<p style="text-align: justify;">That&#8217;s All! Have a nice day!</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/add-social-bookmarks-bar-into-your-blog.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add a &#8216;Share on Facebook&#8217; button without any plugin</title>
		<link>http://wpfunc.com/wordpress/add-a-share-on-facebook-button-without-any-plugin.html</link>
		<comments>http://wpfunc.com/wordpress/add-a-share-on-facebook-button-without-any-plugin.html#comments</comments>
		<pubDate>Mon, 20 Jul 2009 11:00:29 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[Joomla]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=69</guid>
		<description><![CDATA[My friend asked to me &#8216;How i add a Facebook Button to My Joomla site?&#8217;. I gave him this code. I think this code appliable for WordPress  and change code for WordPress, because this is only link, i copied from Facebook :) You have to make a little change on single.php. Lets begin&#8230; Just Copy [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">My friend asked to me &#8216;How i add a Facebook Button to My Joomla site?&#8217;. I gave him this code. I think this code appliable for WordPress  and change code for WordPress, because this is only link, i copied from Facebook :) You have to make a little change on single.php. Lets begin&#8230;<span id="more-69"></span></p>
<h3>Just Copy this code in the WordPress Loop;</h3>
<pre class="brush: plain; title: ; notranslate">&lt;a href=&quot;http://www.facebook.com/sharer.php?u=&lt;?php the_permalink();?&gt;&quot;&amp;t=&quot;&lt;?php the_title(); ?&gt;&quot; target=&quot;blank&quot;&gt;Share on Facebook&lt;/a&gt;</pre>
<p>That&#8217;s All! Have a nice day!</p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/add-a-share-on-facebook-button-without-any-plugin.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

