<?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>Wordpress Farm</title>
	<atom:link href="http://www.wordpressfarm.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wordpressfarm.net</link>
	<description>Blog On !</description>
	<lastBuildDate>Mon, 16 May 2011 18:44:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Automatically add Twitter and Facebook buttons to your posts</title>
		<link>http://www.wordpressfarm.net/wordpress-2/automatically-add-twitter-and-facebook-buttons-to-your-posts/</link>
		<comments>http://www.wordpressfarm.net/wordpress-2/automatically-add-twitter-and-facebook-buttons-to-your-posts/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 01:19:11 +0000</pubDate>
		<dc:creator>The Farmer</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.wordpressfarm.net/uncategorized/automatically-add-twitter-and-facebook-buttons-to-your-posts/</guid>
		<description><![CDATA[Paste the code below into your functions.php file, save it, and you&#8217;re done. function share_this($content){ if(!is_feed() &#38;&#38; !is_home()) { $content .= '&#60;div class="share-this"&#62; &#60;a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal"&#62;Tweet&#60;/a&#62; &#60;script type="text/javascript" src="http://platform.twitter.com/widgets.js"&#62;&#60;/script&#62; &#60;div class="facebook-share-button"&#62; &#60;iframe src="http://www.facebook.com/plugins/like.php?href='. urlencode(get_permalink($post-&#62;ID)) .'&#38;amp;layout=button_count&#38;amp;show_faces=false&#38;amp;width=200&#38;amp;action=like&#38;amp;colorscheme=light&#38;amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:21px;" allowTransparency="true"&#62;&#60;/iframe&#62; &#60;/div&#62; &#60;/div&#62;'; } return $content; } add_action('the_content', 'share_this'); Thanks to Dev7Studios for [...]]]></description>
		<wfw:commentRss>http://www.wordpressfarm.net/wordpress-2/automatically-add-twitter-and-facebook-buttons-to-your-posts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to show the “home” link on wp_nav_menu default fallback function</title>
		<link>http://www.wordpressfarm.net/wordpress-2/how-to-show-the-%e2%80%9chome%e2%80%9d-link-on-wp_nav_menu-default-fallback-function/</link>
		<comments>http://www.wordpressfarm.net/wordpress-2/how-to-show-the-%e2%80%9chome%e2%80%9d-link-on-wp_nav_menu-default-fallback-function/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 01:18:59 +0000</pubDate>
		<dc:creator>The Farmer</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://www.wordpressfarm.net/uncategorized/how-to-show-the-%e2%80%9chome%e2%80%9d-link-on-wp_nav_menu-default-fallback-function/</guid>
		<description><![CDATA[You just have to paste the following code into your theme functions.php file: function my_page_menu_args($args) { $args[&#39;show_home&#39;] = true; return $args; } add_filter(&#39;wp_page_menu_args&#39;, &#39;my_page_menu_args&#39;); Thanks to Reza for this nice piece of code! Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!How to show the [...]]]></description>
		<wfw:commentRss>http://www.wordpressfarm.net/wordpress-2/how-to-show-the-%e2%80%9chome%e2%80%9d-link-on-wp_nav_menu-default-fallback-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to automatically add a search field to your navigation menu</title>
		<link>http://www.wordpressfarm.net/wordpress-2/how-to-automatically-add-a-search-field-to-your-navigation-menu-2/</link>
		<comments>http://www.wordpressfarm.net/wordpress-2/how-to-automatically-add-a-search-field-to-your-navigation-menu-2/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 01:18:48 +0000</pubDate>
		<dc:creator>The Farmer</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.wordpressfarm.net/uncategorized/how-to-automatically-add-a-search-field-to-your-navigation-menu-2/</guid>
		<description><![CDATA[Open your functions.php file, and paste the following code. The search field will be displayed once you saved the file. add_filter(&#39;wp_nav_menu_items&#39;,&#39;add_search_box&#39;, 10, 2); function add_search_box($items, $args) { ob_start(); get_search_form(); $searchform = ob_get_contents(); ob_end_clean(); $items .= &#39;&#60;li&#62;&#39; . $searchform . &#39;&#60;/li&#62;&#39;; return $items; } Thanks to Ronald for the cool tip! Looking for WordPress hosting? Try [...]]]></description>
		<wfw:commentRss>http://www.wordpressfarm.net/wordpress-2/how-to-automatically-add-a-search-field-to-your-navigation-menu-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress tip: Remove WP 3.1 Admin Bar</title>
		<link>http://www.wordpressfarm.net/wordpress-2/wordpress-tip-remove-wp-3-1-admin-bar/</link>
		<comments>http://www.wordpressfarm.net/wordpress-2/wordpress-tip-remove-wp-3-1-admin-bar/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 01:18:40 +0000</pubDate>
		<dc:creator>The Farmer</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[administration]]></category>

		<guid isPermaLink="false">http://www.wordpressfarm.net/uncategorized/wordpress-tip-remove-wp-3-1-admin-bar/</guid>
		<description><![CDATA[Simply paste the following line of code on your functions.php file: remove_action('init', 'wp_admin_bar_init'); Once the file is saved, the Admin Bar will not be displayed again. Thanks to Yoast for the tip! Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!WordPress tip: Remove WP 3.1 [...]]]></description>
		<wfw:commentRss>http://www.wordpressfarm.net/wordpress-2/wordpress-tip-remove-wp-3-1-admin-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress trick: Get category slug using category ID</title>
		<link>http://www.wordpressfarm.net/wordpress-2/wordpress-trick-get-category-slug-using-category-id/</link>
		<comments>http://www.wordpressfarm.net/wordpress-2/wordpress-trick-get-category-slug-using-category-id/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 01:18:35 +0000</pubDate>
		<dc:creator>The Farmer</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[category]]></category>

		<guid isPermaLink="false">http://www.wordpressfarm.net/uncategorized/wordpress-trick-get-category-slug-using-category-id/</guid>
		<description><![CDATA[First, put the following function in your functions.php file: function get_cat_slug($cat_id) { $cat_id = (int) $cat_id; $category = &#038;get_category($cat_id); return $category->slug; } Once done, you can call the function as shown below: &#60;?php echo get_cat_slug(3); ?&#62; This will display the slug for the category with the ID 3. Thanks to Ken Rosaka for the tip! [...]]]></description>
		<wfw:commentRss>http://www.wordpressfarm.net/wordpress-2/wordpress-trick-get-category-slug-using-category-id/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set HTML editor as the default in WordPress</title>
		<link>http://www.wordpressfarm.net/wordpress-2/how-to-set-html-editor-as-the-default-in-wordpress/</link>
		<comments>http://www.wordpressfarm.net/wordpress-2/how-to-set-html-editor-as-the-default-in-wordpress/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 01:18:29 +0000</pubDate>
		<dc:creator>The Farmer</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Edit]]></category>

		<guid isPermaLink="false">http://www.wordpressfarm.net/uncategorized/how-to-set-html-editor-as-the-default-in-wordpress/</guid>
		<description><![CDATA[Simply paste the following code on your functions.php file, save it, and you&#8217;re done! add_filter('wp_default_editor', create_function('', 'return "html";')); Credit: WP Snippets. Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!How to set HTML editor as the default in WordPress]]></description>
		<wfw:commentRss>http://www.wordpressfarm.net/wordpress-2/how-to-set-html-editor-as-the-default-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Different number of posts for a WordPress category</title>
		<link>http://www.wordpressfarm.net/wordpress-2/how-to-show-a-different-number-of-posts-for-a-wordpress-category/</link>
		<comments>http://www.wordpressfarm.net/wordpress-2/how-to-show-a-different-number-of-posts-for-a-wordpress-category/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 14:34:14 +0000</pubDate>
		<dc:creator>The Farmer</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[receipe]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.wordpressfarm.net/?p=136</guid>
		<description><![CDATA[WordPress allows you to vary how many blog posts you show on your blog, but it’s a single setting, and affects how many blog posts show over the whole website. This tip allows you to have a different number of posts for a particular category.]]></description>
		<wfw:commentRss>http://www.wordpressfarm.net/wordpress-2/how-to-show-a-different-number-of-posts-for-a-wordpress-category/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to easily get post ancestors</title>
		<link>http://www.wordpressfarm.net/wordpress-2/how-to-easily-get-post-ancestors/</link>
		<comments>http://www.wordpressfarm.net/wordpress-2/how-to-easily-get-post-ancestors/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 14:30:16 +0000</pubDate>
		<dc:creator>The Farmer</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[ancestors]]></category>
		<category><![CDATA[receipe]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.wordpressfarm.net/?p=133</guid>
		<description><![CDATA[When using WordPress as a CMS or building a breadcrumb, you often need to get the post ancestors. Today let’s have a look at how you can easily get post ancestors of a specific post.]]></description>
		<wfw:commentRss>http://www.wordpressfarm.net/wordpress-2/how-to-easily-get-post-ancestors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to count your blogroll links</title>
		<link>http://www.wordpressfarm.net/wordpress-2/how-to-count-your-blogroll-links/</link>
		<comments>http://www.wordpressfarm.net/wordpress-2/how-to-count-your-blogroll-links/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 14:26:22 +0000</pubDate>
		<dc:creator>The Farmer</dc:creator>
				<category><![CDATA[blogroll]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.wordpressfarm.net/?p=130</guid>
		<description><![CDATA[Did you ever want to display how many blogroll links you have in total? If yes, just read this recipe. It’s pretty easy to do using the $wpdb object and some SQL. Simply paste the following code where you want the count to be displayed:]]></description>
		<wfw:commentRss>http://www.wordpressfarm.net/wordpress-2/how-to-count-your-blogroll-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatically add a search field to your navigation menu</title>
		<link>http://www.wordpressfarm.net/wordpress-2/how-to-automatically-add-a-search-field-to-your-navigation-menu/</link>
		<comments>http://www.wordpressfarm.net/wordpress-2/how-to-automatically-add-a-search-field-to-your-navigation-menu/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 14:20:12 +0000</pubDate>
		<dc:creator>The Farmer</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[receipe]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.wordpressfarm.net/?p=124</guid>
		<description><![CDATA[Do you ever wanted to be able to automatically add a search field to WP 3.0+ navigation menus? If yes, just have a look to today’s recipe, you’ll probably love it!]]></description>
		<wfw:commentRss>http://www.wordpressfarm.net/wordpress-2/how-to-automatically-add-a-search-field-to-your-navigation-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

