<?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>Theme Premium &#187; Wordpress Hacks</title>
	<atom:link href="http://www.themepremium.com/category/wordpress-hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.themepremium.com</link>
	<description>Wordpress Tutorials</description>
	<lastBuildDate>Sun, 25 Jul 2010 00:42:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
<cloud domain='www.themepremium.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>How To Highlight Author Comments In Wordpress</title>
		<link>http://www.themepremium.com/how-to-highlight-author-comments-in-wordpress/</link>
		<comments>http://www.themepremium.com/how-to-highlight-author-comments-in-wordpress/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 01:02:38 +0000</pubDate>
		<dc:creator>furhead</dc:creator>
				<category><![CDATA[Wordpress Hacks]]></category>
		<category><![CDATA[customizing thesis]]></category>
		<category><![CDATA[Highlight Author comment]]></category>
		<category><![CDATA[thesis tutorials]]></category>
		<category><![CDATA[wordpress comment]]></category>
		<category><![CDATA[Wordpress Theme editing]]></category>

		<guid isPermaLink="false">http://www.themepremium.com/?p=737</guid>
		<description><![CDATA[If you are using Wordpress as your blogging platform then you must have at some point of time thought of- How can I highlight author or admin comments of  Wordpress blog. Here is a simple way to highlight the author comments in thesis theme and any other Wordpress theme as well. How to highlight author [...]<p><a href="http://www.themepremium.com/how-to-highlight-author-comments-in-wordpress/">How To Highlight Author Comments In Wordpress</a> is a post from: <a href="http://www.themepremium.com">Theme Premium</a>

<p align="center"><strong>Blog Network</strong></p>

<p align="left"><a title="Make Money Online" href="http://www.shoutmeloud.com" target="_blank">Shoutmeloud</a> | <a title="Technology iPhone blog" href="http://www.callingallgeeks.org" target="_blank">CallingAllGeeks</a> | <a title="Wordpress hosting" href="http://www.wphostingdiscount.com" target="_blank">Wordpress Hosting review</a> | <a title="Wordpress Premium Themes" href="http://www.themepremium.com" target="_blank">Wordpress Premium Themes</a></p>

<p align="left">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Services</strong></p>

<p align="left"><a title="Blogspot to Wordpress Migration" href="http://www.shoutmeloud.com/services" target="_blank">Blogspot to Wordpress Migration</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a title="Wordpress SEO" href="http://www.shoutmeloud.com/wordpress-seo-service" target="_blank">Wordpress SEO</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a title="Thesis Theme Customization Service" href="http://thesiscustomizationservice.com/" target="_blank">Thesis Theme Customization</a></p></p>



Related posts:<ol><li><a href='http://www.themepremium.com/wordpress-premium-theme-for-gadgets-blogs/' rel='bookmark' title='Permanent Link: Wordpress Premium Theme for Gadgets Blogs'>Wordpress Premium Theme for Gadgets Blogs</a></li>
<li><a href='http://www.themepremium.com/how-to-edit-posts-and-comments-without-login/' rel='bookmark' title='Permanent Link: Wordpress Plugin To Edit Posts And Comments Without Logging In'>Wordpress Plugin To Edit Posts And Comments Without Logging In</a></li>
<li><a href='http://www.themepremium.com/disable-wordpress-post-revision-without-plugin/' rel='bookmark' title='Permanent Link: Disable Wordpress Post revision Without Plugin'>Disable Wordpress Post revision Without Plugin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>If you are using <strong>Wordpress</strong> as your <strong>blogging platform</strong> then you must have at some point of time thought of- How can I highlight author or admin comments of  <strong>Wordpress blog</strong>.</p>
<p>Here is a simple way to highlight the author comments in thesis theme and any other <strong>Wordpress theme</strong> as well.</p>
<div class="wlWriterEditableSmartContent" style="margin: 0px; float: none; padding: 0px;"><a href="http://www.themepremium.com/wp-content/uploads/2010/02/Wordpresscomments8x6.jpg"rel="thumbnail" ><img src="http://www.themepremium.com/wp-content/uploads/2010/02/Wordpresscomments.png" border="0" alt="" width="580" height="414" /></a></div>
<p>How to highlight author comments in <strong>Wordpress</strong> <strong>Thesis theme</strong>:-</p>
<p>Their is not much to it,just copy paste the following code in your custom.css file</p>
<pre><span class="rem">/* admincomments */</span>
.custom dl#comment_list dt.bypostauthor,children dd.comment, .custom dl#comment_list dd.bypostauthor&gt;div {background: #c9d7e5; padding-top:20px;}</pre>
<p><strong>How to highlight author comments in any wordpress theme(other than thesis )</strong></p>
<p>In your themes root footer open the comments.php file and find the following code</p>
<pre>&lt;li &lt;?php echo $oddcomment; ?&gt;id=<span class="str">"comment-&lt;?php comment_ID() ?&gt;"</span>&gt;</pre>
<p>Replace this code with the code below</p>
<pre>&lt;li <span class="kwrd">class</span>=<span class="str">"&lt;?php if ($comment-&gt;user_id == 1) $oddcomment = "</span>admincomments<span class="str">"; echo $oddcomment; ?&gt;"</span></pre>
<p>Put this code in your style.css or custom.css  depending on theme you use.</p>
<pre>.admincomments {
background-color: #B3FFCC !important;
}</pre>
<p>You can change the color to your liking and according to your theme.</p>
<p><em>If you find this tip useful for you and for others, don&#8217;t forget to tweet and share this post.</em></p>
<p><a href="http://www.themepremium.com/how-to-highlight-author-comments-in-wordpress/">How To Highlight Author Comments In Wordpress</a> is a post from: <a href="http://www.themepremium.com">Theme Premium</a>

<p align="center"><strong>Blog Network</strong></p>

<p align="left"><a target="_blank" title="Make Money Online" href="http://www.shoutmeloud.com" target="_blank">Shoutmeloud</a> | <a target="_blank" title="Technology iPhone blog" href="http://www.callingallgeeks.org" target="_blank">CallingAllGeeks</a> | <a target="_blank" title="Wordpress hosting" href="http://www.wphostingdiscount.com" target="_blank">Wordpress Hosting review</a> | <a title="Wordpress Premium Themes" href="http://www.themepremium.com" target="_blank">Wordpress Premium Themes</a></p>

<p align="left">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Services</strong></p>

<p align="left"><a target="_blank" title="Blogspot to Wordpress Migration" href="http://www.shoutmeloud.com/services" target="_blank">Blogspot to Wordpress Migration</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a target="_blank" title="Wordpress SEO" href="http://www.shoutmeloud.com/wordpress-seo-service" target="_blank">Wordpress SEO</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a target="_blank" title="Thesis Theme Customization Service" href="http://thesiscustomizationservice.com/" target="_blank">Thesis Theme Customization</a></p></p>


<p>Related posts:<ol><li><a href='http://www.themepremium.com/wordpress-premium-theme-for-gadgets-blogs/' rel='bookmark' title='Permanent Link: Wordpress Premium Theme for Gadgets Blogs'>Wordpress Premium Theme for Gadgets Blogs</a></li>
<li><a href='http://www.themepremium.com/how-to-edit-posts-and-comments-without-login/' rel='bookmark' title='Permanent Link: Wordpress Plugin To Edit Posts And Comments Without Logging In'>Wordpress Plugin To Edit Posts And Comments Without Logging In</a></li>
<li><a href='http://www.themepremium.com/disable-wordpress-post-revision-without-plugin/' rel='bookmark' title='Permanent Link: Disable Wordpress Post revision Without Plugin'>Disable Wordpress Post revision Without Plugin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.themepremium.com/how-to-highlight-author-comments-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Hiding Sub Categories to Display on Wordpress</title>
		<link>http://www.themepremium.com/excluding-sub-categories-display-wordpress/</link>
		<comments>http://www.themepremium.com/excluding-sub-categories-display-wordpress/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 01:43:00 +0000</pubDate>
		<dc:creator>Themepremium</dc:creator>
				<category><![CDATA[Wordpress Hacks]]></category>
		<category><![CDATA[Categories]]></category>
		<category><![CDATA[Subcategory]]></category>
		<category><![CDATA[Wordpress Codes]]></category>
		<category><![CDATA[Wordpress Hack]]></category>

		<guid isPermaLink="false">http://www.themepremium.com/?p=293</guid>
		<description><![CDATA[If you use Categories to structure your blog , you might like to display these categories on your blog homepage and other pages. It’s a good idea to show wordpress  categories on your blog pages, since users can quickly pick up the best categories for him and browse the archive. But if you use lots [...]<p><a href="http://www.themepremium.com/excluding-sub-categories-display-wordpress/">Hiding Sub Categories to Display on Wordpress</a> is a post from: <a href="http://www.themepremium.com">Theme Premium</a>

<p align="center"><strong>Blog Network</strong></p>

<p align="left"><a title="Make Money Online" href="http://www.shoutmeloud.com" target="_blank">Shoutmeloud</a> | <a title="Technology iPhone blog" href="http://www.callingallgeeks.org" target="_blank">CallingAllGeeks</a> | <a title="Wordpress hosting" href="http://www.wphostingdiscount.com" target="_blank">Wordpress Hosting review</a> | <a title="Wordpress Premium Themes" href="http://www.themepremium.com" target="_blank">Wordpress Premium Themes</a></p>

<p align="left">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Services</strong></p>

<p align="left"><a title="Blogspot to Wordpress Migration" href="http://www.shoutmeloud.com/services" target="_blank">Blogspot to Wordpress Migration</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a title="Wordpress SEO" href="http://www.shoutmeloud.com/wordpress-seo-service" target="_blank">Wordpress SEO</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a title="Thesis Theme Customization Service" href="http://thesiscustomizationservice.com/" target="_blank">Thesis Theme Customization</a></p></p>



Related posts:<ol><li><a href='http://www.themepremium.com/how-to-make-a-wordpress-post-always-stick-to-homepage/' rel='bookmark' title='Permanent Link: How to Make a Wordpress Post Always Stick to Homepage'>How to Make a Wordpress Post Always Stick to Homepage</a></li>
<li><a href='http://www.themepremium.com/how-to-set-feeds-to-show-read-more-in-wordpress-blog/' rel='bookmark' title='Permanent Link: How to Set Feeds to Show read more in Wordpress Blog'>How to Set Feeds to Show read more in Wordpress Blog</a></li>
<li><a href='http://www.themepremium.com/display-visitors-local-time-and-date-and-time-in-wordpress-blog/' rel='bookmark' title='Permanent Link: Display Visitors Local Time And Date And Time In Wordpress blog'>Display Visitors Local Time And Date And Time In Wordpress blog</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>If you use Categories to structure your blog , you might like to display these categories on your blog homepage and other pages. It’s a good idea to show wordpress  categories on your blog pages, since users can quickly pick up the best categories for him and browse the archive. But if you use lots of sub categories for an Example</p>
<p>Wordpress &gt; <a href="http://www.themepremium.com/category/wordpress-seo/" target="_blank">Wordpress SEO</a> &gt; <a href="http://www.themepremium.com/category/wordpress-plugins/"rel="nofollow"  target="_blank">Wordpress Plugins</a></p>
<p>Here wordpress is parent category and Wordpress SEO and Wordpress plugins are sub categories. It will also show in your categories. If you have a niche wordpress blog like me, you might not mind showing your sub categories on the pages, as it will provide easy navigation for the users. But in case if you are covering lots of topics like Blogging, Wordpress, SEO, Technology and use sub categories for further categorization, you might like to disallow showing categories on your homepage.</p>
<p>Christopher has come up with a very useful post on hiding sub categories to display and if you are showing categories on your blog , you might like to read his article to give cleaner view on your blog.</p>
<p><a target="_blank" href="http://lohmantrading.com/Fourced/2009/09/how-to-hide-wordpress-subcategories-from-display/" rel="nofollow"  target="_blank">Read Christopher Post</a></p>
<p><a href="http://www.themepremium.com/excluding-sub-categories-display-wordpress/">Hiding Sub Categories to Display on Wordpress</a> is a post from: <a href="http://www.themepremium.com">Theme Premium</a>

<p align="center"><strong>Blog Network</strong></p>

<p align="left"><a target="_blank" title="Make Money Online" href="http://www.shoutmeloud.com" target="_blank">Shoutmeloud</a> | <a target="_blank" title="Technology iPhone blog" href="http://www.callingallgeeks.org" target="_blank">CallingAllGeeks</a> | <a target="_blank" title="Wordpress hosting" href="http://www.wphostingdiscount.com" target="_blank">Wordpress Hosting review</a> | <a title="Wordpress Premium Themes" href="http://www.themepremium.com" target="_blank">Wordpress Premium Themes</a></p>

<p align="left">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Services</strong></p>

<p align="left"><a target="_blank" title="Blogspot to Wordpress Migration" href="http://www.shoutmeloud.com/services" target="_blank">Blogspot to Wordpress Migration</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a target="_blank" title="Wordpress SEO" href="http://www.shoutmeloud.com/wordpress-seo-service" target="_blank">Wordpress SEO</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a target="_blank" title="Thesis Theme Customization Service" href="http://thesiscustomizationservice.com/" target="_blank">Thesis Theme Customization</a></p></p>


<p>Related posts:<ol><li><a href='http://www.themepremium.com/how-to-make-a-wordpress-post-always-stick-to-homepage/' rel='bookmark' title='Permanent Link: How to Make a Wordpress Post Always Stick to Homepage'>How to Make a Wordpress Post Always Stick to Homepage</a></li>
<li><a href='http://www.themepremium.com/how-to-set-feeds-to-show-read-more-in-wordpress-blog/' rel='bookmark' title='Permanent Link: How to Set Feeds to Show read more in Wordpress Blog'>How to Set Feeds to Show read more in Wordpress Blog</a></li>
<li><a href='http://www.themepremium.com/display-visitors-local-time-and-date-and-time-in-wordpress-blog/' rel='bookmark' title='Permanent Link: Display Visitors Local Time And Date And Time In Wordpress blog'>Display Visitors Local Time And Date And Time In Wordpress blog</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.themepremium.com/excluding-sub-categories-display-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Delete all Post revision from Wordpress Database at One Go</title>
		<link>http://www.themepremium.com/delete-all-post-revision-from-wordpress-database-at-one-go/</link>
		<comments>http://www.themepremium.com/delete-all-post-revision-from-wordpress-database-at-one-go/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 01:06:00 +0000</pubDate>
		<dc:creator>Themepremium</dc:creator>
				<category><![CDATA[Wordpress Hacks]]></category>
		<category><![CDATA[database optimization]]></category>
		<category><![CDATA[Post revision]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Wordpress Hack]]></category>

		<guid isPermaLink="false">http://www.themepremium.com/?p=241</guid>
		<description><![CDATA[Earlier we talked about Wordpress post revision feature and how you can disable post revision with plugin or disable post revision with little hack. Though we have achieved the target to disable the post revision feature but still most important thing that remains there is deleting all previous version of Wordpress post revision. If you [...]<p><a href="http://www.themepremium.com/delete-all-post-revision-from-wordpress-database-at-one-go/">Delete all Post revision from Wordpress Database at One Go</a> is a post from: <a href="http://www.themepremium.com">Theme Premium</a>

<p align="center"><strong>Blog Network</strong></p>

<p align="left"><a title="Make Money Online" href="http://www.shoutmeloud.com" target="_blank">Shoutmeloud</a> | <a title="Technology iPhone blog" href="http://www.callingallgeeks.org" target="_blank">CallingAllGeeks</a> | <a title="Wordpress hosting" href="http://www.wphostingdiscount.com" target="_blank">Wordpress Hosting review</a> | <a title="Wordpress Premium Themes" href="http://www.themepremium.com" target="_blank">Wordpress Premium Themes</a></p>

<p align="left">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Services</strong></p>

<p align="left"><a title="Blogspot to Wordpress Migration" href="http://www.shoutmeloud.com/services" target="_blank">Blogspot to Wordpress Migration</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a title="Wordpress SEO" href="http://www.shoutmeloud.com/wordpress-seo-service" target="_blank">Wordpress SEO</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a title="Thesis Theme Customization Service" href="http://thesiscustomizationservice.com/" target="_blank">Thesis Theme Customization</a></p></p>



Related posts:<ol><li><a href='http://www.themepremium.com/wordpress-post-revision-feature-do-you-really-need/' rel='bookmark' title='Permanent Link: Wordpress Post-Revision feature- Do you really need it?'>Wordpress Post-Revision feature- Do you really need it?</a></li>
<li><a href='http://www.themepremium.com/revision-control-wordpress-plugin-disable-limit-post-revision-in-wordpress/' rel='bookmark' title='Permanent Link: Revision Control Wordpress plugin : Disable or Limit Post revision in Wordpress'>Revision Control Wordpress plugin : Disable or Limit Post revision in Wordpress</a></li>
<li><a href='http://www.themepremium.com/disable-wordpress-post-revision-without-plugin/' rel='bookmark' title='Permanent Link: Disable Wordpress Post revision Without Plugin'>Disable Wordpress Post revision Without Plugin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>Earlier we talked about <a href="http://www.themepremium.com/wordpress-post-revision-feature-do-you-really-need/">Wordpress post revision feature</a> and how you can <a href="http://www.themepremium.com/revision-control-wordpress-plugin-disable-limit-post-revision-in-wordpress/">disable post revision with plugin</a> or <a href="http://www.themepremium.com/disable-wordpress-post-revision-without-plugin/">disable post revision with little hack</a>. Though we have achieved the target to disable the post revision feature but still most important thing that remains there is deleting all previous version of Wordpress post revision. If you have hundred+ posts you can see lots of post revision on your blog and obviously your wordpress database size will be big. To delete previous post revision you can run this query in your sql database to delete all instance of previous auto saved blog posts.</p>
<pre class="csharpcode">DELETE FROM wp_posts WHERE post_type = <span class="str">"revision"</span>;</pre>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p>Make sure you take the database backup before running this query. This will ensure the safety of your wordpress database. Alternatively you can use <a href="http://www.themepremium.com/optimize-wordpress-database-with-wp-optimize-wordpress-plugin/">wp-optimize wordpress plugin</a>, if you are not familiar with running sql query.</p>
<p><a href="http://www.themepremium.com/delete-all-post-revision-from-wordpress-database-at-one-go/">Delete all Post revision from Wordpress Database at One Go</a> is a post from: <a href="http://www.themepremium.com">Theme Premium</a>

<p align="center"><strong>Blog Network</strong></p>

<p align="left"><a target="_blank" title="Make Money Online" href="http://www.shoutmeloud.com" target="_blank">Shoutmeloud</a> | <a target="_blank" title="Technology iPhone blog" href="http://www.callingallgeeks.org" target="_blank">CallingAllGeeks</a> | <a target="_blank" title="Wordpress hosting" href="http://www.wphostingdiscount.com" target="_blank">Wordpress Hosting review</a> | <a title="Wordpress Premium Themes" href="http://www.themepremium.com" target="_blank">Wordpress Premium Themes</a></p>

<p align="left">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Services</strong></p>

<p align="left"><a target="_blank" title="Blogspot to Wordpress Migration" href="http://www.shoutmeloud.com/services" target="_blank">Blogspot to Wordpress Migration</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a target="_blank" title="Wordpress SEO" href="http://www.shoutmeloud.com/wordpress-seo-service" target="_blank">Wordpress SEO</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a target="_blank" title="Thesis Theme Customization Service" href="http://thesiscustomizationservice.com/" target="_blank">Thesis Theme Customization</a></p></p>


<p>Related posts:<ol><li><a href='http://www.themepremium.com/wordpress-post-revision-feature-do-you-really-need/' rel='bookmark' title='Permanent Link: Wordpress Post-Revision feature- Do you really need it?'>Wordpress Post-Revision feature- Do you really need it?</a></li>
<li><a href='http://www.themepremium.com/revision-control-wordpress-plugin-disable-limit-post-revision-in-wordpress/' rel='bookmark' title='Permanent Link: Revision Control Wordpress plugin : Disable or Limit Post revision in Wordpress'>Revision Control Wordpress plugin : Disable or Limit Post revision in Wordpress</a></li>
<li><a href='http://www.themepremium.com/disable-wordpress-post-revision-without-plugin/' rel='bookmark' title='Permanent Link: Disable Wordpress Post revision Without Plugin'>Disable Wordpress Post revision Without Plugin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.themepremium.com/delete-all-post-revision-from-wordpress-database-at-one-go/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Disable Wordpress Post revision Without Plugin</title>
		<link>http://www.themepremium.com/disable-wordpress-post-revision-without-plugin/</link>
		<comments>http://www.themepremium.com/disable-wordpress-post-revision-without-plugin/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 21:58:00 +0000</pubDate>
		<dc:creator>Themepremium</dc:creator>
				<category><![CDATA[Wordpress Hacks]]></category>
		<category><![CDATA[database optimization]]></category>
		<category><![CDATA[Post revision]]></category>
		<category><![CDATA[Revision Control]]></category>
		<category><![CDATA[Wordpress Optimizaton]]></category>
		<category><![CDATA[Wp-config]]></category>

		<guid isPermaLink="false">http://www.themepremium.com/?p=233</guid>
		<description><![CDATA[So previously we talked about Wordpress post revision feature and revision control Wordpress plugin to disable post revision, but instead of using any plugin we can simple disable this feature by adding a small line of code in your wp-config file. This will make sure that your blog will not save the instance of your [...]<p><a href="http://www.themepremium.com/disable-wordpress-post-revision-without-plugin/">Disable Wordpress Post revision Without Plugin</a> is a post from: <a href="http://www.themepremium.com">Theme Premium</a>

<p align="center"><strong>Blog Network</strong></p>

<p align="left"><a title="Make Money Online" href="http://www.shoutmeloud.com" target="_blank">Shoutmeloud</a> | <a title="Technology iPhone blog" href="http://www.callingallgeeks.org" target="_blank">CallingAllGeeks</a> | <a title="Wordpress hosting" href="http://www.wphostingdiscount.com" target="_blank">Wordpress Hosting review</a> | <a title="Wordpress Premium Themes" href="http://www.themepremium.com" target="_blank">Wordpress Premium Themes</a></p>

<p align="left">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Services</strong></p>

<p align="left"><a title="Blogspot to Wordpress Migration" href="http://www.shoutmeloud.com/services" target="_blank">Blogspot to Wordpress Migration</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a title="Wordpress SEO" href="http://www.shoutmeloud.com/wordpress-seo-service" target="_blank">Wordpress SEO</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a title="Thesis Theme Customization Service" href="http://thesiscustomizationservice.com/" target="_blank">Thesis Theme Customization</a></p></p>



Related posts:<ol><li><a href='http://www.themepremium.com/revision-control-wordpress-plugin-disable-limit-post-revision-in-wordpress/' rel='bookmark' title='Permanent Link: Revision Control Wordpress plugin : Disable or Limit Post revision in Wordpress'>Revision Control Wordpress plugin : Disable or Limit Post revision in Wordpress</a></li>
<li><a href='http://www.themepremium.com/wordpress-post-revision-feature-do-you-really-need/' rel='bookmark' title='Permanent Link: Wordpress Post-Revision feature- Do you really need it?'>Wordpress Post-Revision feature- Do you really need it?</a></li>
<li><a href='http://www.themepremium.com/delete-all-post-revision-from-wordpress-database-at-one-go/' rel='bookmark' title='Permanent Link: Delete all Post revision from Wordpress Database at One Go'>Delete all Post revision from Wordpress Database at One Go</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>So previously we talked about <a href="http://www.themepremium.com/wordpress-post-revision-feature-do-you-really-need/">Wordpress post revision feature</a> and<a href="http://www.themepremium.com/revision-control-wordpress-plugin-disable-limit-post-revision-in-wordpress/"> revision control</a><img style="border-bottom: 0px; border-left: 0px; margin: 10px 0px 10px 15px; display: inline; border-top: 0px; border-right: 0px" title="wordpress_logo" src="http://www.themepremium.com/wp-content/uploads/2009/11/wordpress_logo_thumb.png" border="0" alt="wordpress_logo" width="125" height="125" align="right" /><a href="http://www.themepremium.com/revision-control-wordpress-plugin-disable-limit-post-revision-in-wordpress/"> Wordpress plugin</a> to disable post revision, but instead of using any plugin we can simple disable this feature by adding a small line of code in your wp-config file.</p>
<p>This will make sure that your blog will not save the instance of your previously edited post and thus it will not increase the size of your database.</p>
<p>To use this small code, you should know how to access your wordpress directory using FTP.</p>
<p>Now go to root of your wordpress installation and open wp-config.php file, and add this single line of code</p>
<pre class="csharpcode">define(<span class="str">'WP_POST_REVISIONS'</span>, <span class="kwrd">false</span>);</pre>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p>This will ensure that none of your post will be revised again. I find it much better than using a plugin, since my wordpress will not be over loaded with an extra plugin.</p>
<p><strong><em>p.s : Do take a backup of your wp-config.php file, before editing your wordpress file.</em></strong></p>
<p><a href="http://www.themepremium.com/disable-wordpress-post-revision-without-plugin/">Disable Wordpress Post revision Without Plugin</a> is a post from: <a href="http://www.themepremium.com">Theme Premium</a>

<p align="center"><strong>Blog Network</strong></p>

<p align="left"><a target="_blank" title="Make Money Online" href="http://www.shoutmeloud.com" target="_blank">Shoutmeloud</a> | <a target="_blank" title="Technology iPhone blog" href="http://www.callingallgeeks.org" target="_blank">CallingAllGeeks</a> | <a target="_blank" title="Wordpress hosting" href="http://www.wphostingdiscount.com" target="_blank">Wordpress Hosting review</a> | <a title="Wordpress Premium Themes" href="http://www.themepremium.com" target="_blank">Wordpress Premium Themes</a></p>

<p align="left">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Services</strong></p>

<p align="left"><a target="_blank" title="Blogspot to Wordpress Migration" href="http://www.shoutmeloud.com/services" target="_blank">Blogspot to Wordpress Migration</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a target="_blank" title="Wordpress SEO" href="http://www.shoutmeloud.com/wordpress-seo-service" target="_blank">Wordpress SEO</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a target="_blank" title="Thesis Theme Customization Service" href="http://thesiscustomizationservice.com/" target="_blank">Thesis Theme Customization</a></p></p>


<p>Related posts:<ol><li><a href='http://www.themepremium.com/revision-control-wordpress-plugin-disable-limit-post-revision-in-wordpress/' rel='bookmark' title='Permanent Link: Revision Control Wordpress plugin : Disable or Limit Post revision in Wordpress'>Revision Control Wordpress plugin : Disable or Limit Post revision in Wordpress</a></li>
<li><a href='http://www.themepremium.com/wordpress-post-revision-feature-do-you-really-need/' rel='bookmark' title='Permanent Link: Wordpress Post-Revision feature- Do you really need it?'>Wordpress Post-Revision feature- Do you really need it?</a></li>
<li><a href='http://www.themepremium.com/delete-all-post-revision-from-wordpress-database-at-one-go/' rel='bookmark' title='Permanent Link: Delete all Post revision from Wordpress Database at One Go'>Delete all Post revision from Wordpress Database at One Go</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.themepremium.com/disable-wordpress-post-revision-without-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to Make a Wordpress Post Always Stick to Homepage</title>
		<link>http://www.themepremium.com/how-to-make-a-wordpress-post-always-stick-to-homepage/</link>
		<comments>http://www.themepremium.com/how-to-make-a-wordpress-post-always-stick-to-homepage/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 12:30:00 +0000</pubDate>
		<dc:creator>Themepremium</dc:creator>
				<category><![CDATA[Wordpress Hacks]]></category>
		<category><![CDATA[Sticky post]]></category>
		<category><![CDATA[Wordpress Hack]]></category>

		<guid isPermaLink="false">http://www.themepremium.com/?p=246</guid>
		<description><![CDATA[One of my Client, wanted to have a post always stick to homepage which will welcome her readers. She asked me how to  do it, so instead of telling her on IM , I believe writing here will be a much better option so that other readers can take help of it. Wordpress has an [...]<p><a href="http://www.themepremium.com/how-to-make-a-wordpress-post-always-stick-to-homepage/">How to Make a Wordpress Post Always Stick to Homepage</a> is a post from: <a href="http://www.themepremium.com">Theme Premium</a>

<p align="center"><strong>Blog Network</strong></p>

<p align="left"><a title="Make Money Online" href="http://www.shoutmeloud.com" target="_blank">Shoutmeloud</a> | <a title="Technology iPhone blog" href="http://www.callingallgeeks.org" target="_blank">CallingAllGeeks</a> | <a title="Wordpress hosting" href="http://www.wphostingdiscount.com" target="_blank">Wordpress Hosting review</a> | <a title="Wordpress Premium Themes" href="http://www.themepremium.com" target="_blank">Wordpress Premium Themes</a></p>

<p align="left">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Services</strong></p>

<p align="left"><a title="Blogspot to Wordpress Migration" href="http://www.shoutmeloud.com/services" target="_blank">Blogspot to Wordpress Migration</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a title="Wordpress SEO" href="http://www.shoutmeloud.com/wordpress-seo-service" target="_blank">Wordpress SEO</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a title="Thesis Theme Customization Service" href="http://thesiscustomizationservice.com/" target="_blank">Thesis Theme Customization</a></p></p>



Related posts:<ol><li><a href='http://www.themepremium.com/excluding-sub-categories-display-wordpress/' rel='bookmark' title='Permanent Link: Hiding Sub Categories to Display on Wordpress'>Hiding Sub Categories to Display on Wordpress</a></li>
<li><a href='http://www.themepremium.com/delete-all-post-revision-from-wordpress-database-at-one-go/' rel='bookmark' title='Permanent Link: Delete all Post revision from Wordpress Database at One Go'>Delete all Post revision from Wordpress Database at One Go</a></li>
<li><a href='http://www.themepremium.com/magazine-style-premium-wordpress-theme-with-featured-post-charisma/' rel='bookmark' title='Permanent Link: Magazine style Premium Wordpress theme With Featured Post : Charisma'>Magazine style Premium Wordpress theme With Featured Post : Charisma</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>One of my Client, wanted to have a post always stick to homepage which will welcome her readers. She asked me how to  do it, so instead of telling her on IM , I believe writing here will be a much better option so that other readers can take help of it.</p>
<p>Wordpress has an inbuilt option to make any blog post sticky and it will stay at the top of homepage and new posts will be displayed below it.</p>
<p>This option can be access on the edit post option, here is a screenshot which will make it easy for you to understand.</p>
<p><a href="http://www.themepremium.com/wp-content/uploads/2009/11/wordpress_sticky_posts.png"><img style="border-bottom: 0px; border-left: 0px; margin: 10px auto; display: block; float: none; border-top: 0px; border-right: 0px" title="wordpress_sticky_posts" src="http://www.themepremium.com/wp-content/uploads/2009/11/wordpress_sticky_posts_thumb.png" border="0" alt="wordpress_sticky_posts" width="504" height="319" /></a></p>
<p>Make sure to put a check mark in the option which says “Stick the post to the front page” this will ensure , that particular post will remain first post on your wordpress blog, until unless you uncheck that option again.</p>
<p>This is very useful when you want a particular post to keep showing on homepage, specially when you running a contest or running a giveaway.</p>
<p><em>Do you have a tip to share or want to write for us? Contact us using contact form to write for us.</em></p>
<p><a href="http://www.themepremium.com/how-to-make-a-wordpress-post-always-stick-to-homepage/">How to Make a Wordpress Post Always Stick to Homepage</a> is a post from: <a href="http://www.themepremium.com">Theme Premium</a>

<p align="center"><strong>Blog Network</strong></p>

<p align="left"><a target="_blank" title="Make Money Online" href="http://www.shoutmeloud.com" target="_blank">Shoutmeloud</a> | <a target="_blank" title="Technology iPhone blog" href="http://www.callingallgeeks.org" target="_blank">CallingAllGeeks</a> | <a target="_blank" title="Wordpress hosting" href="http://www.wphostingdiscount.com" target="_blank">Wordpress Hosting review</a> | <a title="Wordpress Premium Themes" href="http://www.themepremium.com" target="_blank">Wordpress Premium Themes</a></p>

<p align="left">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Services</strong></p>

<p align="left"><a target="_blank" title="Blogspot to Wordpress Migration" href="http://www.shoutmeloud.com/services" target="_blank">Blogspot to Wordpress Migration</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a target="_blank" title="Wordpress SEO" href="http://www.shoutmeloud.com/wordpress-seo-service" target="_blank">Wordpress SEO</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a target="_blank" title="Thesis Theme Customization Service" href="http://thesiscustomizationservice.com/" target="_blank">Thesis Theme Customization</a></p></p>


<p>Related posts:<ol><li><a href='http://www.themepremium.com/excluding-sub-categories-display-wordpress/' rel='bookmark' title='Permanent Link: Hiding Sub Categories to Display on Wordpress'>Hiding Sub Categories to Display on Wordpress</a></li>
<li><a href='http://www.themepremium.com/delete-all-post-revision-from-wordpress-database-at-one-go/' rel='bookmark' title='Permanent Link: Delete all Post revision from Wordpress Database at One Go'>Delete all Post revision from Wordpress Database at One Go</a></li>
<li><a href='http://www.themepremium.com/magazine-style-premium-wordpress-theme-with-featured-post-charisma/' rel='bookmark' title='Permanent Link: Magazine style Premium Wordpress theme With Featured Post : Charisma'>Magazine style Premium Wordpress theme With Featured Post : Charisma</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.themepremium.com/how-to-make-a-wordpress-post-always-stick-to-homepage/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Wordpress Random Posts With Custom Code</title>
		<link>http://www.themepremium.com/wordpress-random-posts-with-custom-code/</link>
		<comments>http://www.themepremium.com/wordpress-random-posts-with-custom-code/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 12:08:00 +0000</pubDate>
		<dc:creator>Themepremium</dc:creator>
				<category><![CDATA[Wordpress Hacks]]></category>
		<category><![CDATA[Random Posts]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Custom Code]]></category>

		<guid isPermaLink="false">http://www.themepremium.com/?p=54</guid>
		<description><![CDATA[Wordpress is full of custom code which can use to get rid of lots of Wordpress plugins. One such plugin is Random posts plugin, but those who are familiar with coding which is not tough to implement. You can show random post below posts using this custom code. Here is Wordpress Random Posts Custom code [...]<p><a href="http://www.themepremium.com/wordpress-random-posts-with-custom-code/">Wordpress Random Posts With Custom Code</a> is a post from: <a href="http://www.themepremium.com">Theme Premium</a>

<p align="center"><strong>Blog Network</strong></p>

<p align="left"><a title="Make Money Online" href="http://www.shoutmeloud.com" target="_blank">Shoutmeloud</a> | <a title="Technology iPhone blog" href="http://www.callingallgeeks.org" target="_blank">CallingAllGeeks</a> | <a title="Wordpress hosting" href="http://www.wphostingdiscount.com" target="_blank">Wordpress Hosting review</a> | <a title="Wordpress Premium Themes" href="http://www.themepremium.com" target="_blank">Wordpress Premium Themes</a></p>

<p align="left">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Services</strong></p>

<p align="left"><a title="Blogspot to Wordpress Migration" href="http://www.shoutmeloud.com/services" target="_blank">Blogspot to Wordpress Migration</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a title="Wordpress SEO" href="http://www.shoutmeloud.com/wordpress-seo-service" target="_blank">Wordpress SEO</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a title="Thesis Theme Customization Service" href="http://thesiscustomizationservice.com/" target="_blank">Thesis Theme Customization</a></p></p>



Related posts:<ol><li><a href='http://www.themepremium.com/generate-thumbnails-for-all-wordpress-blog-posts-at-once/' rel='bookmark' title='Permanent Link: Generate thumbnails for All Wordpress blog posts at once'>Generate thumbnails for All Wordpress blog posts at once</a></li>
<li><a href='http://www.themepremium.com/how-to-edit-posts-and-comments-without-login/' rel='bookmark' title='Permanent Link: Wordpress Plugin To Edit Posts And Comments Without Logging In'>Wordpress Plugin To Edit Posts And Comments Without Logging In</a></li>
<li><a href='http://www.themepremium.com/disable-wordpress-post-revision-without-plugin/' rel='bookmark' title='Permanent Link: Disable Wordpress Post revision Without Plugin'>Disable Wordpress Post revision Without Plugin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>Wordpress is full of custom code which can use to get rid of lots of Wordpress plugins.</p>
<p>One such plugin is Random posts plugin, but those who are familiar with coding which is not tough to implement. You can show random post below posts using this custom code.</p>
<p><a href="http://www.themepremium.com/wp-content/uploads/2009/09/wordpressrandomposts.png"><img style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" title="wordpress-random-posts" src="http://www.themepremium.com/wp-content/uploads/2009/09/wordpressrandomposts_thumb.png" border="0" alt="wordpress-random-posts" width="249" height="340" /></a></p>
<p>Here is Wordpress Random Posts Custom code</p>
<pre class="csharpcode">&lt;ul&gt;
  &lt;li&gt;
    &lt;h2&gt;Random Posts&lt;/h2&gt;
    &lt;ul&gt;
      &lt;?php
 $rand_posts = get_posts(<span class="str">'numberposts=5&amp;orderby=rand'</span>);
 <span class="kwrd">foreach</span>( $rand_posts <span class="kwrd">as</span> $post ) :
 ?&gt;
      &lt;li&gt;&lt;a href=<span class="str">"&lt;?php the_permalink(); ?&gt;"</span>&gt;
        &lt;?php the_title(); ?&gt;
        &lt;/a&gt;&lt;/li&gt;
      &lt;?php endforeach; ?&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;</pre>
<p>Add the code in your single.php file at your desire place.</p>
<p>Let me know if you face any problem or have any question.</p>
<p><a href="http://www.themepremium.com/wordpress-random-posts-with-custom-code/">Wordpress Random Posts With Custom Code</a> is a post from: <a href="http://www.themepremium.com">Theme Premium</a>

<p align="center"><strong>Blog Network</strong></p>

<p align="left"><a target="_blank" title="Make Money Online" href="http://www.shoutmeloud.com" target="_blank">Shoutmeloud</a> | <a target="_blank" title="Technology iPhone blog" href="http://www.callingallgeeks.org" target="_blank">CallingAllGeeks</a> | <a target="_blank" title="Wordpress hosting" href="http://www.wphostingdiscount.com" target="_blank">Wordpress Hosting review</a> | <a title="Wordpress Premium Themes" href="http://www.themepremium.com" target="_blank">Wordpress Premium Themes</a></p>

<p align="left">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Services</strong></p>

<p align="left"><a target="_blank" title="Blogspot to Wordpress Migration" href="http://www.shoutmeloud.com/services" target="_blank">Blogspot to Wordpress Migration</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a target="_blank" title="Wordpress SEO" href="http://www.shoutmeloud.com/wordpress-seo-service" target="_blank">Wordpress SEO</a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | <a target="_blank" title="Thesis Theme Customization Service" href="http://thesiscustomizationservice.com/" target="_blank">Thesis Theme Customization</a></p></p>


<p>Related posts:<ol><li><a href='http://www.themepremium.com/generate-thumbnails-for-all-wordpress-blog-posts-at-once/' rel='bookmark' title='Permanent Link: Generate thumbnails for All Wordpress blog posts at once'>Generate thumbnails for All Wordpress blog posts at once</a></li>
<li><a href='http://www.themepremium.com/how-to-edit-posts-and-comments-without-login/' rel='bookmark' title='Permanent Link: Wordpress Plugin To Edit Posts And Comments Without Logging In'>Wordpress Plugin To Edit Posts And Comments Without Logging In</a></li>
<li><a href='http://www.themepremium.com/disable-wordpress-post-revision-without-plugin/' rel='bookmark' title='Permanent Link: Disable Wordpress Post revision Without Plugin'>Disable Wordpress Post revision Without Plugin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.themepremium.com/wordpress-random-posts-with-custom-code/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
