<?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>DomainClump Web Services &#187; wordpress</title>
	<atom:link href="http://www.domainclump.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.domainclump.com</link>
	<description></description>
	<lastBuildDate>Thu, 18 Feb 2010 15:43:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create Home Page in Wordpress Blog</title>
		<link>http://www.domainclump.com/create-home-page-in-wordpress-blog/</link>
		<comments>http://www.domainclump.com/create-home-page-in-wordpress-blog/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 16:25:30 +0000</pubDate>
		<dc:creator>arun</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://domainclump.com/?p=55</guid>
		<description><![CDATA[
 
All bloggers would expect this post, You may think it will be good if you have a home page for your blog and it will look like a website. Yes its possible to create home page in wordpress blog. Here i give you some steps.
1. Open your template folder and open index.php in a text [...]]]></description>
			<content:encoded><![CDATA[<p><script src="http://www.bluehost.com/src/js/arun2xy/CODE40/100x100/2.gif" type="text/javascript"></script><br />
 </p>
<p>All bloggers would expect this post, You may think it will be good if you have a home page for your blog and it will look like a website. Yes its possible to create home page in wordpress blog. Here i give you some steps.</p>
<p>1. Open your template folder and open index.php in a text editor (ex: notepad)</p>
<p>2. Save the file as home.php</p>
<p>3. Now you can edit home.php like whatever you want to display in your home page ( like about your blog or about you so and so.</p>
<p>4. If you need to display recent posts of your blog in home page paste this code.</p>
<blockquote><p>
<em>&lt;?php<br />
 $how_many=5; //How many posts do you want to show<br />
 require_once(&#8217;wp-config.php&#8217;); // Change this for your path to wp-config.php file ?&gt;</em></p>
<p><em>&lt;ol id=&#8221;whats-new&#8221;&gt;<br />
 &lt;?<br />
 $news=$wpdb-&gt;get_results(&#8221;SELECT `ID`,`post_title` FROM $wpdb-&gt;posts<br />
 WHERE `post_type`=&#8221;post&#8221; AND `post_status`=&#8221;publish&#8221; ORDER BY post_date DESC LIMIT $how_many&#8221;);<br />
 foreach($news as $np){<br />
 printf (&#8221;&lt;li&gt;&lt;a href=&#8221;index.php?p=%s&#8221;&gt;%s&lt;/a&gt;&lt;/li&gt;&#8221;, $np-&gt;ID,$np-&gt;post_title);<br />
 }?&gt;<br />
 &lt;/ol&gt;</em>
</p></blockquote>
<p>5. If you Sidebar and Footer Add</p>
<blockquote><p><em>&lt;?php get_sidebar(); ?&gt;</em></p>
<p><em>&lt;?php get_footer(); ?&gt;</em></p></blockquote>
<p>6. Now upload home.php to your template folder.</p>
<p>And now you have modify .htaccess file in your home directory</p>
<p>At the top of the .htaccess file add</p>
<blockquote><p><em>DirectoryIndex home.php index.php</em></p></blockquote>
<p>Visit your blog now You will get a home page with list of your recent posts.</p>
<p>Example see <a title="Arun's Weblog" href="http://rarun.info" target="_blank">my personal blog</a>.</p>
<p>You can also use any of your page as home page.</p>
<p>Here are the steps.</p>
<p>1. Create new page like About as ur wish</p>
<p>2. Go to Settings-&gt; Reading</p>
<p>3. In Front page displays click A static page in front page select your page which you created now.</p>
<p>4. Save changes and visit you blog.</p>
<p> <br />
<script src="http://www.bluehost.com/src/js/arun2xy/CODE24/468x60/7.gif" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.domainclump.com/create-home-page-in-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
