<?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>Sakin Shrestha &#62; Management and IT Consultant (Wordpress Expert)</title>
	<atom:link href="http://sakinshrestha.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sakinshrestha.com</link>
	<description>Articles related to Management, Technology, WordPress,  News, Travel to Nepal</description>
	<lastBuildDate>Sun, 29 Aug 2010 02:56:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WordPress 3.0.1 Released</title>
		<link>http://sakinshrestha.com/uncategorized/wordpress-3-0-1-released/</link>
		<comments>http://sakinshrestha.com/uncategorized/wordpress-3-0-1-released/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 17:21:18 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=805</guid>
		<description><![CDATA[After nearly 11 million downloads of WordPress 3.0 in just 42 days, we’re releasing WordPress 3.0.1. The requisite haiku: Three dot oh dot one Bug fixes to make you smile Update your WordPress This maintenance release addresses about 50 minor issues. The testing many of you contributed prior to the release of 3.0 helped make [...]]]></description>
			<content:encoded><![CDATA[<p>After nearly <a href="http://wordpress.org/download/counter/" target="_blank" title="Wordpress Download Counter">11 million downloads</a> of WordPress 3.0 in just 42 days, we’re releasing WordPress 3.0.1. The requisite haiku:</p>
<p>Three dot oh dot one<br />
Bug fixes to make you smile<br />
Update your WordPress</p>
<p>This maintenance release addresses <a href="http://codex.wordpress.org/Version_3.0.1" target="_blank" title="about 50 minor issues">about 50 minor issues</a>.  The testing many of you contributed prior to the release of 3.0 helped  make it one of the best and most stable releases we’ve had.</p>
<p><a href="http://wordpress.org/download/" target="_blank" title="Download 3.0.1">Download 3.0.1</a> or update automatically from the Dashboard &gt; Updates menu in your site’s admin area.</p>
<p><em>Note: If you downloaded 3.0.1 in the first 20 minutes of release  (before 2200 UTC), you’ll want to reinstall it, which you can do right  from your Updates screen. <a href="http://twitter.com/wordpress/status/19859163982" title="Our bad" target="_blank">Our bad</a>.</em></p>
<p>Source: WordPress.org</p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/uncategorized/wordpress-3-0-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Enable Multiple Site Network Option in WordPress 3.0</title>
		<link>http://sakinshrestha.com/testimonials/how-to-enable-multiple-site-network-option-in-wordpress-3-0/</link>
		<comments>http://sakinshrestha.com/testimonials/how-to-enable-multiple-site-network-option-in-wordpress-3-0/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 15:55:22 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[Testimonials]]></category>
		<category><![CDATA[Testimonial]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=791</guid>
		<description><![CDATA[We have been hearing about the Multi-Site feature in WordPress 3.0. This doesn&#8217;t come by default and to activate this feature you need to configure it in your wp-config.php file. In this article I am going to tell you how you can enable the Network settings option to enable multi-site feature in WordPress 3.0. Step [...]]]></description>
			<content:encoded><![CDATA[<p>We have been hearing about the Multi-Site feature in WordPress 3.0. This doesn&#8217;t come by default and to activate this feature you need to configure it in your wp-config.php file.</p>
<p>In this article I am going to tell you how you can enable the Network settings option to enable multi-site feature in WordPress 3.0. </p>
<p>Step 1: Go to the wordpress root directory and open wp-config.php file.<br />
Step 2: Add the following code  and save the file<br />
<code>define('WP_ALLOW_MULTISITE', true);</code><br />
Step 3: Go to your WordPress Dashboard and now you can see &#8220;Network&#8221; added in your Tools options. This mean you have successfully enable multiple site Network option in WordPress 3.0<br />
Step 4: To add Click on Network under Tools Options and fill in the details and install it</p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/testimonials/how-to-enable-multiple-site-network-option-in-wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 Released on June 17, 2010</title>
		<link>http://sakinshrestha.com/wordpress/wordpress-3-0-released-on-june-17-2010/</link>
		<comments>http://sakinshrestha.com/wordpress/wordpress-3-0-released-on-june-17-2010/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 19:08:04 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[Tech News]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress release]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=761</guid>
		<description><![CDATA[The most awaited WordPress 3.0 version has been finally released on June 17, 2010. WordPress 3.0, the thirteenth major release of WordPress and the culmination of half a year of work by 218 contributors, is now available for download (or upgrade within your dashboard). Major new features in this release include a sexy new default [...]]]></description>
			<content:encoded><![CDATA[<p>The most awaited WordPress 3.0 version has been finally released on June 17, 2010. WordPress 3.0, the thirteenth major release of WordPress and the  culmination of half a year of work by 218 contributors, is <a title="now available for download" href="http://wordpress.org/download/" target="_blank">now available for download</a> (or  <a title="upgrade  within your dashboard" href="http://codex.wordpress.org/Dashboard_Updates_SubPanel" target="_blank">upgrade  within your dashboard</a>). Major new features in this release include a  sexy <strong>new default theme called Twenty Ten</strong>. Theme  developers have new APIs that allow them to easily implement custom  backgrounds, headers, shortlinks, <a title="menus" href="http://codex.wordpress.org/Appearance_Menus_SubPanel" target="_blank">menus</a> (no more file editing), <a title="post types" href="http://codex.wordpress.org/Custom_Post_Types" target="_blank">post types</a>, and <a title="taxonomies" href="http://codex.wordpress.org/Custom_Taxonomies" target="_blank">taxonomies</a>.  (Twenty Ten theme shows all of that off.) Developers and network admins  will appreciate the long-awaited <strong>merge of MU and WordPress</strong>,  creating the new multi-site functionality which makes it possible to  run one blog or ten million from the same installation. As a user, you  will love the new <strong>lighter interface</strong>, the contextual  help on every screen, the <strong>1,217 bug fixes and feature  enhancements</strong>, bulk updates so you can upgrade 15 plugins at  once with a single click, and blah blah blah just watch the video. <img src="http://wordpress.org/development/wp-includes/images/smilies/icon_smile.gif" alt=":)" /> <em>(In HD, if you can, so you can catch  the Easter eggs.)</em></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="630" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="guid=BQtfIEY1&amp;width=630&amp;height=360&amp;locksize=no&amp;dynamicseek=false&amp;qc_publisherId=p-18-mFEk4J448M" /><param name="src" value="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.21" /><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="630" height="360" src="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.21" allowfullscreen="true" wmode="transparent" flashvars="guid=BQtfIEY1&amp;width=630&amp;height=360&amp;locksize=no&amp;dynamicseek=false&amp;qc_publisherId=p-18-mFEk4J448M"></embed></object></p>
<p>For a more comprehensive look at everything that has improved in 3.0  check out <a title="3.0 Codex  page" href="http://codex.wordpress.org/Version_3.0" target="_blank">3.0′s Codex  page</a> or the <a title="long  list of issues in Trac" href="http://core.trac.wordpress.org/query?group=status&amp;milestone=3.0&amp;desc=1&amp;order=priority" target="_blank">long  list of issues in Trac</a>. (We’re trying to keep these announcement  posts shorter.) Whew! That’s a lot packed into one release. I can’t  think of a better  way to kick off the 3.X cycle we’ll be in for the  next two and a half  years.</p>
<h3>The Future</h3>
<p>Normally this is where I’d say we’re about to start work on 3.1, but  we’re actually not. We’re going to take a release cycle off to focus on  all of the things around WordPress. The growth of the community has been  breathtaking, including over 10.3 million downloads of version 2.9, but  so much of our effort has been focused on the core software it hasn’t  left much time for anything else. Over the next three months we’re going  to split into ninja/pirate teams focused on different areas of the  around-WordPress experience, including the showcase, Codex, forums,  profiles, update and compatibility APIs, theme directory, plugin  directory, mailing lists, core plugins, wordcamp.org… the possibilities  are endless. The goal of the teams isn’t going to be to make things  perfect all at once, just better than they are today. We think this  investment of time will give us a much stronger infrastructure to grow  WordPress.org for the many tens of millions of users that will join us  during the 3.X release cycle.</p>
<h3>It Takes a Village</h3>
<p>I’m proud to acknowledge the contributions of the following <strong>218</strong> people to the 3.0 release cycle. These are the folks that make  WordPress what it is, whose collaboration and hard work enable us to  build something greater than the sum of our parts. In alphabetical  order, of course.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="224" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="guid=xj8pDCM4&amp;width=400&amp;height=224&amp;locksize=no&amp;dynamicseek=false&amp;qc_publisherId=p-18-mFEk4J448M" /><param name="src" value="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.21" /><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="400" height="224" src="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.21" allowfullscreen="true" wmode="transparent" flashvars="guid=xj8pDCM4&amp;width=400&amp;height=224&amp;locksize=no&amp;dynamicseek=false&amp;qc_publisherId=p-18-mFEk4J448M"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/wordpress/wordpress-3-0-released-on-june-17-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 RC3</title>
		<link>http://sakinshrestha.com/wordpress/wordpress-3-0-rc3/</link>
		<comments>http://sakinshrestha.com/wordpress/wordpress-3-0-rc3/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 10:54:56 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[Tech News]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress release]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=739</guid>
		<description><![CDATA[Yesterday on June 11, 2010 there was another release of WordPress 3.0 Release Candidate 3 (RC3). As per wordpress.org this is probably the final Release Candidate before the release of most awaited WordPress version 3.0. Download WordPress 3.0 RC3]]></description>
			<content:encoded><![CDATA[<p>Yesterday on June 11, 2010 there was another release of <a title="WordPress 3.0 Release Candidate 3 (RC3)" href="http://wordpress.org/development/2010/06/3-0-rc3/" target="_blank">WordPress 3.0 Release Candidate 3 (RC3)</a>. As per <a title="WordPress.org)" href="http://wordpress.org/" target="_blank">wordpress.org</a> this is probably the final Release Candidate before the release of most awaited WordPress version 3.0.</p>
<p><a title="Download  WordPress 3.0 RC3" href="http://wordpress.org/wordpress-3.0-RC3.zip" target="_blank">Download  WordPress 3.0 RC3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/wordpress/wordpress-3-0-rc3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moguldom Media Group</title>
		<link>http://sakinshrestha.com/testimonials/moguldom-media-group/</link>
		<comments>http://sakinshrestha.com/testimonials/moguldom-media-group/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 07:34:37 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[Testimonials]]></category>
		<category><![CDATA[Moduldom Media Group]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=777</guid>
		<description><![CDATA[Sakin is responsible and great in communication and cooperation. Most tasks were completed in a timely manner. We would like to work with him again. Moguldom Media Group]]></description>
			<content:encoded><![CDATA[<p>Sakin is responsible and great in communication and cooperation. Most tasks were completed in a timely manner. We would like to work with him again.<br />
<a href="http://www.moguldom.com/" title="Moguldom Media Group" target="_blank">Moguldom Media Group</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/testimonials/moguldom-media-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sam Sokwoo  Kim (Bobit Business Media)</title>
		<link>http://sakinshrestha.com/testimonials/sam-sokwoo-kim-bobit-business-media/</link>
		<comments>http://sakinshrestha.com/testimonials/sam-sokwoo-kim-bobit-business-media/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 07:36:10 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[Testimonials]]></category>
		<category><![CDATA[Bobit Business Media]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=780</guid>
		<description><![CDATA[Sakin&#8217;s done multiple WordPress projects for us and a phpBB project. He&#8217;s done an excellent job overall with good communication. We&#8217;d use him again in our future projects. Sam Sokwoo Kim Web Manager Bobit Business Media]]></description>
			<content:encoded><![CDATA[<p>Sakin&#8217;s done multiple WordPress projects for us and a phpBB project.  He&#8217;s done an excellent job overall with good communication.  We&#8217;d use him again in our future projects.<br />
<a href="http://www.linkedin.com/pub/sam-sokwoo-kim/7/1ab/350" title="Sam Sokwoo  Kim" target="_blank">Sam Sokwoo  Kim</a><br />
Web Manager<br />
<a href="http://www.bobit.com" title="Bobit Business Media" target="_blank">Bobit Business Media </a> </p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/testimonials/sam-sokwoo-kim-bobit-business-media/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 Release Candidate</title>
		<link>http://sakinshrestha.com/wordpress/wordpress-3-0-release-candidate/</link>
		<comments>http://sakinshrestha.com/wordpress/wordpress-3-0-release-candidate/#comments</comments>
		<pubDate>Fri, 28 May 2010 20:30:53 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress release]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=737</guid>
		<description><![CDATA[As Matt teased earlier, the first release candidate (RC1) for WordPress 3.0 is now available. What’s an RC? An RC comes after beta and before the final launch. It means we think we’ve got everything done: all features finished, all bugs squashed, and all potential issues addressed. But, then, with over 20 million people using [...]]]></description>
			<content:encoded><![CDATA[<p>As Matt teased earlier, the first release candidate (RC1) for  WordPress 3.0 is now available. What’s an RC? An RC comes after beta and  before the final launch. It means we think we’ve got everything done:  all features finished, all bugs squashed, and all potential issues  addressed. But, then, with over 20 million people using WordPress with a  wide variety of configurations and hosting setups, it’s entirely  possible that we’ve missed something. So! For the brave of heart, please  download the RC and test it out (but not on your live site unless  you’re extra adventurous). Some things to know:</p>
<ul>
<li>Custom menus are finished! Yay!</li>
<li>Multi-site is all set.</li>
<li>The look of the WordPress admin has been lightened up a little bit,  so you can focus more on your content.</li>
<li>There are a ton of changes, so plugin authors, please test your  plugins <strong>now</strong>, so that if there is a compatibility issue,  we can figure it out before the final release.</li>
<li>Plugin and theme *users* are also encouraged to test things out. If  you find problems, let your plugin/theme authors know so they can figure  out the cause.</li>
<li>There are a couple of <a href="http://core.trac.wordpress.org/report/5" target="_blank" title="known issues">known issues</a>.</li>
</ul>
<p>If you are testing the RC and come across a bug, you can:</p>
<ul>
<li>Report it on the <a href="http://lists.automattic.com/mailman/listinfo/wp-testers" target="_blank" title="wp-testers  mailing list">wp-testers  mailing list</a></li>
<li>Join the dev chat and tell us live at irc.freenode.net  #wordpress-dev</li>
<li>File a bug ticket on the <a href="https://core.trac.wordpress.org/query?status=reopened&amp;status=assigned&amp;status=reviewing&amp;status=new&amp;status=accepted&amp;group=status&amp;milestone=3.0" target="_blank" title="WordPress  Trac ">WordPress  Trac </a></li>
</ul>
<p>We hope you enjoy playing with the 3.0 RC as much as we’ve enjoyed  making it for you. Enjoy!</p>
<p><a href="http://wordpress.org/wordpress-3.0-RC1.zip" target="_blank" title="Download  WordPress 3.0 RC1">Download  WordPress 3.0 RC1</a></p>
<p><a href="http://wordpress.org/development/2010/05/wordpress-3-0-release-candidate/" title="Source: Jane Wells in WordPress.org" target="_blank">Source: Jane Wells in WordPress.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/wordpress/wordpress-3-0-release-candidate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gmail and Google Aps Email 502 Server Error</title>
		<link>http://sakinshrestha.com/technology/it-tips-tricks/gmail-and-google-aps-email-502-server-error/</link>
		<comments>http://sakinshrestha.com/technology/it-tips-tricks/gmail-and-google-aps-email-502-server-error/#comments</comments>
		<pubDate>Tue, 11 May 2010 05:20:57 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[IT Tips & Tricks]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=734</guid>
		<description><![CDATA[Today when I try to check my gmail from FireFox, I encounter 502 Server Error. But when I try different browser like Internet Explorer 8, I was able to check it smoothly. So, there is problem in Firefox and gmail. Further after that I realized that if you clear your Firefox browser cache and cookies [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_735" class="wp-caption aligncenter" style="width: 588px"><a href="http://www.sakinshrestha.com/wp-content/uploads/2010/05/gmail-502-server-error.jpg"><img class="size-large wp-image-735" title="Gmail 502 Server Error" src="http://www.sakinshrestha.com/wp-content/uploads/2010/05/gmail-502-server-error-578x328.jpg" alt="Gmail 502 Server Error" width="578" height="328" /></a><p class="wp-caption-text">Gmail 502 Server Error</p></div>
<p>Today when I try to check my gmail from FireFox, I encounter 502 Server Error. But when I try different browser like Internet Explorer 8, I was able to check it smoothly. So, there is problem in Firefox and gmail.</p>
<p>Further after that I realized that if you clear your Firefox browser cache and cookies than you will be able to check your email even from FF.</p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/technology/it-tips-tricks/gmail-and-google-aps-email-502-server-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Release WordPress 3.0 &#8211; Beta 2 Version</title>
		<link>http://sakinshrestha.com/wordpress/wordpress-3-beta-2-release/</link>
		<comments>http://sakinshrestha.com/wordpress/wordpress-3-beta-2-release/#comments</comments>
		<pubDate>Sun, 09 May 2010 04:35:48 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress release]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=730</guid>
		<description><![CDATA[If you’ve been following the news of WordPress 3.0, you will know that it is a huge release for WordPress. It’s the milestone of merging WordPress and WordPress Multi-User (WPMU) into a single platform. Following the successful post-WordCamp San Francisco code sprint, they release the second beta of WordPress 3.0 which is ready for download. [...]]]></description>
			<content:encoded><![CDATA[<p>If you’ve been following the news of WordPress 3.0, you will know that it is a huge release for WordPress. It’s the milestone of merging WordPress and WordPress Multi-User (WPMU) into a single platform.</p>
<p>Following the successful post-WordCamp San Francisco code sprint, they release the second beta of WordPress 3.0 which is ready for <a title="WordPress Release WordPress 3.0 - Beta 2 Version" rel="external" href="http://wordpress.org/wordpress-3.0-beta2.zip" target="_blank">download</a>.</p>
<p>Things to test:</p>
<ul>
<li>Revised menu user interface</li>
<li>Changes to the WordPress exporter and importer to make it more  flexible</li>
</ul>
<p>Already have a test install that you want to switch over to the beta?  Try the <a title="beta  tester plugin" href="http://westi.wordpress.com/2009/06/22/making-it-easy-to-be-a-wordpress-tester/" target="_blank">beta  tester plugin</a>.</p>
<p>Testers, don’t forget to use the <a title="wp-testers  mailing list" href="http://lists.automattic.com/mailman/listinfo/wp-testers" target="_blank">wp-testers  mailing list</a> to discuss bugs you encounter.</p>
<p>There are a number of new features, enhancements, and code updates, so  if you’re interested, download the beta and <a title="report  any bugs" rel="external" href="http://core.trac.wordpress.org/" target="_blank">report  any bugs</a> that you find.</p>
<p>Check out the WordPress Version 3.0  enhancements and fixes. Please note, things could change before final release: <a href="http://codex.wordpress.org/Version_3.0" title="Wordpress Version 3.0 Features Highlights" target="_blank" rel="external">Click Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/wordpress/wordpress-3-beta-2-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Body Class body_class() Function and extension</title>
		<link>http://sakinshrestha.com/wordpress/wordpress-body-class-function-extension/</link>
		<comments>http://sakinshrestha.com/wordpress/wordpress-body-class-function-extension/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 08:17:03 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[wordpress hacks]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=713</guid>
		<description><![CDATA[The WordPress body class function body_class() works from WordPress 2.8 version onwards. This function gives the body element different classes and can be added, typically, in the header.php&#8217;s HTML body tag. This gives you the possibility to use it effectively with CSS. &#60;body &#60;?php body_class(); ?&#62;&#62; What body_class() Generates The body_class() function is quite similar [...]]]></description>
			<content:encoded><![CDATA[<p>The WordPress body class function body_class() works from WordPress 2.8 version onwards. This function gives the body element different classes and can be added, typically, in the header.php&#8217;s HTML body tag. This gives you the possibility to use it effectively with CSS.</p>
<p><code>&lt;body &lt;?php body_class(); ?&gt;&gt;</code></p>
<h3>What body_class() Generates</h3>
<p>The body_class() function is quite similar to post_class() function that was introduced in WordPress 2.7. The only differences are the classes it generates. The body_class() function will generate the classes mostly based on where your viewer is on your site.   </p>
<p>Following in example of the class that is generated through body_class() function when your visitor come to your site<br />
In Hompage: <code>&lt;body class=&quot;home blog&quot;&gt;</code><br />
In Interviews Category: <code>&lt;body class=&quot;archive category category-interviews&quot;&gt;</code><br />
In About us Page: <code>&lt;body class=&quot;page page-id-2&quot;&gt;</code><br />
In Post: <code>&lt;body class=&quot;single postid-36&quot;&gt;</code><br />
In 404 Error Page: <code>&lt;body class=&quot;error404&quot;&gt;</code></p>
<p>But the then it will add extra class <strong>logged-in</strong> if your visitors are logged in your site. </p>
<p>To add to more: The body_class() may include one or more of the following values for the class attribute.</p>
<ul>
<li> rtl </li>
<li> home </li>
<li> blog </li>
<li> archive </li>
<li> date </li>
<li> search </li>
<li> paged </li>
<li> attachment </li>
<li> error404 </li>
<li> single postid-(id) </li>
<li> attachmentid-(id) </li>
<li> attachment-(mime-type) </li>
<li> author </li>
<li> author-(user_nicename) </li>
<li> category </li>
<li> category-(slug) </li>
<li> tag </li>
<li> tag-(slug) </li>
<li> page-parent </li>
<li> page-child parent-pageid-(id) </li>
<li> page-template page-template-(template file name) </li>
<li> search-results </li>
<li> search-no-results </li>
<li> logged-in </li>
<li> paged-(page number) </li>
<li> single-paged-(page number) </li>
<li> page-paged-(page number) </li>
<li> category-paged-(page number) </li>
<li> tag-paged-(page number) </li>
<li> date-paged-(page number) </li>
<li> author-paged-(page number) </li>
<li> search-paged-(page number) </li>
</ul>
<p>You can also extend the body call with the use of Hook in your Function.php file in your theme. The following in the example that you can use it is function.php file<br />
<code>add_filter('body_class','my_body_classes');<br />
function my_body_classes($classes) {<br />
if (is_single()) {<br />
if (in_category('News')) {<br />
$classes[] = 'category-news';<br />
} else if (in_category('Travel &amp;amp; Nepal')) {<br />
$classes[] = 'category-travel-nepal'; <br />
} else if (in_category('Interviews')) {<br />
$classes[] = 'category-interviews';<br />
} else if (in_category('How To')) {<br />
$classes[] = 'category-how-to';<br />
} <br />
}<br />
return $classes;<br />
}</code></p>
<p>What I did in the above hook is that I forced body_class() function to add the category name in which the post belongs while viewing the post.  Now, when you will view your post you will see the category name in which it belongs: Following are the example:<br />
In Post which belongs to News category: <code>&lt;body class=&quot;single postid-36 category-news&quot;&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/wordpress/wordpress-body-class-function-extension/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: sakinshrestha.com @ 2010-09-03 09:16:05 -->