<?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>IdolMasti</title>
	<atom:link href="http://www.idolmasti.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.idolmasti.com</link>
	<description>Speak Your Heart - What You Think</description>
	<lastBuildDate>Tue, 20 Jul 2010 17:50:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Quick Tip: How to Recover Lost WordPress (Localhost) Password</title>
		<link>http://www.idolmasti.com/3244/quick-tip-how-to-recover-lost-wordpress-localhost-password/</link>
		<comments>http://www.idolmasti.com/3244/quick-tip-how-to-recover-lost-wordpress-localhost-password/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 17:50:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.idolmasti.com/?p=3244</guid>
		<description><![CDATA[<a href="http://www.idolmasti.com/3244/quick-tip-how-to-recover-lost-wordpress-localhost-password/"><img align="left" hspace="5" width="300" src="http://sphotos.ak.fbcdn.net/hphotos-ak-snc4/hs164.snc4/37540_448183517027_217553772027_6059093_5454739_n.jpg" class="alignleft wp-post-image tfe" alt="Quick Tip: How to Recover Lost Wordpress (Localhost) Password" title="Quick Tip: How to Recover Lost Wordpress (Localhost) Password" /></a>If you design and develop WordPress theme, chances are you’ll have a local (localhost) copy in your machine for testing &#38; debugging and preview purposes. Here’s a common mistake some of us may make – we tend to forget our admin password. If you’ve forgotten your password for an online self-host WordPress blog, it’s easy [...]


Related posts:<ol><li><a href='http://www.idolmasti.com/2930/wordpress-3-0-features-walk-through/' rel='bookmark' title='Permanent Link: WordPress 3.0 Features Walk Through'>WordPress 3.0 Features Walk Through</a></li>
<li><a href='http://www.idolmasti.com/3159/insert-comments-programatically-wordpress-hack/' rel='bookmark' title='Permanent Link: Insert comments programatically &#8211; WordPress Hack'>Insert comments programatically &#8211; WordPress Hack</a></li>
<li><a href='http://www.idolmasti.com/3191/remove-admin-name-in-comments-class/' rel='bookmark' title='Permanent Link: Remove admin name in comments class'>Remove admin name in comments class</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>If you design and develop WordPress theme, chances are you’ll have a local (localhost) copy in your machine for testing &amp; debugging and preview purposes. Here’s a common mistake some of us may make – we tend to forget our admin password.<br />
<img class="alignnone" title="Quick Tip: How to Recover Lost WordPress (Localhost) Password" src="http://sphotos.ak.fbcdn.net/hphotos-ak-snc4/hs164.snc4/37540_448183517027_217553772027_6059093_5454739_n.jpg" alt="Quick Tip: How to Recover Lost WordPress (Localhost) Password" width="500" height="323" /></p>
<p>If you’ve forgotten your password for an online self-host WordPress blog, it’s easy as clicking on the “Lost your password” to recover. But in a localhost environment, configurations may vary from machine to machine. Most of the time “Lost your password” will not work as email system is either not supported or not properly setup.</p>
<p>In this article, I’m going to show a simple workaround to login to your localhost WordPress Dashboard even if you’ve forgot your password, or even the login.</p>
<h1><span style="color: #ff6600;"><em>The Problem</em></span></h1>
<p>So you’ve forgotten your password, or username, or both. WordPress suggest you use the &#8220;Lost your password&#8221; function to help recover but email system wasn’t properly setup in your localhost? Here’s how to get you back into the Dashboard quickly.</p>
<p><img class="alignnone" title="Quick Tip: How to Recover Lost WordPress (Localhost) Password" src="http://sphotos.ak.fbcdn.net/hphotos-ak-snc4/hs200.snc4/38351_448185097027_217553772027_6059108_4215140_n.jpg" alt="Quick Tip: How to Recover Lost WordPress (Localhost) Password" width="600" height="274" /></p>
<h4></h4>
<h1><em>The Solution</em></h1>
<p><strong>Go into PhpMyAdmin.</strong> The URL should be <code>http://localhost/phpmyadmin</code>,  but it might vary depending on configurations. Look for the database  name on the left sidebar. In our case it’s called “<em>wordpress</em>“.</p>
<div></div>
<div><img class="alignnone" src="http://sphotos.ak.fbcdn.net/hphotos-ak-snc4/hs191.snc4/37867_448185687027_217553772027_6059116_4085500_n.jpg" alt="" width="126" height="118" /></div>
<div></div>
<div>Click “wordpress“ to see its tables. Look for *_users, in our case it’s called wp1_users. Click it and you’ll notice a page change on the right frame. user_login  column shows you all usernames you currently have. If you are looking for usernames, your problem is solved. But if you are looking to recover lost password, there is one more thing you’ll need to do.</p>
</div>
<div></div>
<div><img class="alignnone" src="http://sphotos.ak.fbcdn.net/hphotos-ak-ash2/hs103.ash2/38494_448186192027_217553772027_6059123_4010465_n.jpg" alt="" width="600" height="298" /></div>
<div></div>
<div>Click on the pen icon to edit the data for the specific user. Look for “user_pass” field. Select &#8220;MD5&#8243; for the Function dropdown, and change it’s value  to a new password, in our case the new password is call “admin“. Click GO once you are done.</p>
</div>
<div><img class="alignnone" src="http://sphotos.ak.fbcdn.net/hphotos-ak-ash2/hs085.ash2/37576_448186857027_217553772027_6059136_13908_n.jpg" alt="" width="600" height="276" /></div>
<div></div>
<div>That’s it! You’ve just changed the password for username admin to “admin“.</p>
</div>



<p>Related posts:<ol><li><a href='http://www.idolmasti.com/2930/wordpress-3-0-features-walk-through/' rel='bookmark' title='Permanent Link: WordPress 3.0 Features Walk Through'>WordPress 3.0 Features Walk Through</a></li>
<li><a href='http://www.idolmasti.com/3159/insert-comments-programatically-wordpress-hack/' rel='bookmark' title='Permanent Link: Insert comments programatically &#8211; WordPress Hack'>Insert comments programatically &#8211; WordPress Hack</a></li>
<li><a href='http://www.idolmasti.com/3191/remove-admin-name-in-comments-class/' rel='bookmark' title='Permanent Link: Remove admin name in comments class'>Remove admin name in comments class</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.idolmasti.com/3244/quick-tip-how-to-recover-lost-wordpress-localhost-password/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Display dates as “time ago”, the easy way</title>
		<link>http://www.idolmasti.com/3240/display-dates-as-%e2%80%9ctime-ago%e2%80%9d-the-easy-way/</link>
		<comments>http://www.idolmasti.com/3240/display-dates-as-%e2%80%9ctime-ago%e2%80%9d-the-easy-way/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 13:18:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.idolmasti.com/?p=3240</guid>
		<description><![CDATA[<a href="http://www.idolmasti.com/3240/display-dates-as-%e2%80%9ctime-ago%e2%80%9d-the-easy-way/"><img align="left" hspace="5" width="200" height="200" src="http://www.idolmasti.com/wp-content/uploads/2010/07/time.png" class="alignleft tfe wp-post-image" alt="Display dates as “time ago”, the easy way" title="Display dates as “time ago”, the easy way" /></a>Want to display human readable dates on your blog, such as “Posted 6 days ago?” There’s a lot of available functions to do so, but only a few people know that WordPress have its own built-in function to do that. To display human readable dates on your blog, you have to use the human_time_diff() function. [...]


Related posts:<ol><li><a href='http://www.idolmasti.com/2943/how-to-display-twitter-like-%e2%80%9ctime-ago%e2%80%9d-on-your-wordpress-blog/' rel='bookmark' title='Permanent Link: How to display Twitter-like “time ago” on your WordPress blog'>How to display Twitter-like “time ago” on your WordPress blog</a></li>
<li><a href='http://www.idolmasti.com/2905/how-to-get-the-first-image-from-the-post-and-display-it/' rel='bookmark' title='Permanent Link: How to: Get the first image from the post and display it'>How to: Get the first image from the post and display it</a></li>
<li><a href='http://www.idolmasti.com/2855/how-to-display-an-incrementing-number-next-to-each-published-post/' rel='bookmark' title='Permanent Link: How to display an incrementing number next to each published post'>How to display an incrementing number next to each published post</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>Want to display human readable dates on your blog, such as “Posted 6  days ago?” There’s a lot of available functions to do so, but only a few  people know that WordPress have its own built-in function to do that.</p>
<p>To display human readable dates on your blog, you have to use the  human_time_diff() function. The following piece of code will show a post  date like &#8220;Posted 6 days ago&#8221;.<br />
Paste it anywhere within the loop, save the file, and you&#8217;re done.</p>
<pre class="brush: plain;">Posted &lt;?php echo human_time_diff(get_the_time('U'), current_time('timestamp')) . ' ago'; ?&gt;</pre>



<p>Related posts:<ol><li><a href='http://www.idolmasti.com/2943/how-to-display-twitter-like-%e2%80%9ctime-ago%e2%80%9d-on-your-wordpress-blog/' rel='bookmark' title='Permanent Link: How to display Twitter-like “time ago” on your WordPress blog'>How to display Twitter-like “time ago” on your WordPress blog</a></li>
<li><a href='http://www.idolmasti.com/2905/how-to-get-the-first-image-from-the-post-and-display-it/' rel='bookmark' title='Permanent Link: How to: Get the first image from the post and display it'>How to: Get the first image from the post and display it</a></li>
<li><a href='http://www.idolmasti.com/2855/how-to-display-an-incrementing-number-next-to-each-published-post/' rel='bookmark' title='Permanent Link: How to display an incrementing number next to each published post'>How to display an incrementing number next to each published post</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.idolmasti.com/3240/display-dates-as-%e2%80%9ctime-ago%e2%80%9d-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Showing Amount Of Comments A Comment Author Made</title>
		<link>http://www.idolmasti.com/3228/showing-amount-of-comments-a-comment-author-made/</link>
		<comments>http://www.idolmasti.com/3228/showing-amount-of-comments-a-comment-author-made/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 09:19:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.idolmasti.com/?p=3228</guid>
		<description><![CDATA[<a href="http://www.idolmasti.com/3228/showing-amount-of-comments-a-comment-author-made/"><img align="left" hspace="5" width="300" src="http://i50.tinypic.com/xc62dz.jpg" class="alignleft wp-post-image tfe" alt="Showing Amount Of Comments A Comment Author Made" title="Showing Amount Of Comments A Comment Author Made" /></a>Little code snippet for showing amount of comment a comment author made. I saw a really cool thing on ProBlogDesign. In the comments there is also the amount of comments the comment authors made. Here is a screenshost. Here is a function you can use to get and echo the number of comments a comment [...]


Related posts:<ol><li><a href='http://www.idolmasti.com/3090/style-author-comments-in-wordpress-2-7/' rel='bookmark' title='Permanent Link: Style author comments in WordPress 2.7'>Style author comments in WordPress 2.7</a></li>
<li><a href='http://www.idolmasti.com/3151/get-popular-posts-by-comments-count-wordpress-hack/' rel='bookmark' title='Permanent Link: Get popular posts by comments count &#8211; WordPress Hack'>Get popular posts by comments count &#8211; WordPress Hack</a></li>
<li><a href='http://www.idolmasti.com/3159/insert-comments-programatically-wordpress-hack/' rel='bookmark' title='Permanent Link: Insert comments programatically &#8211; WordPress Hack'>Insert comments programatically &#8211; WordPress Hack</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<div>
<p>Little code snippet for showing amount  of comment a comment author made.</p>
<p>I saw a really cool thing on ProBlogDesign. In the comments there is also the amount of comments the comment authors made. Here is a screenshost.</p>
<div class="wp-caption alignnone" style="width: 610px"><img title="Showing Amount Of Comments A Comment Author Made" src="http://i50.tinypic.com/xc62dz.jpg" alt="Showing Amount Of Comments A Comment Author Made" width="600" height="165" /><p class="wp-caption-text">Showing Amount Of Comments A Comment Author Made</p></div>
<p>Here is a function you can use to get and echo the number of comments a  comment author made. Put it in the <strong>functions.php</strong> file  in your theme.</p>
<pre class="brush: plain;">
&lt;pre&gt;function commentCountAuthor(){

	$oneText = 'One comment';
	$moreText = '% comments';

	global $wpdb;

	$result = $wpdb-&gt;get_var('
		SELECT
			COUNT(comment_ID)
		FROM
			'.$wpdb-&gt;comments.'
		WHERE
			comment_author_email = &quot;'.get_comment_author_email().'&quot;'
	);

	if($result == 1):

		echo str_replace('%', $result, $oneText);

	elseif($result &gt; 1):

		echo str_replace('%', $result, $moreText);

	endif;

}
&lt;/pre&gt;
</pre>
<p>Simply call the functions inside the comments loop.</p>
<pre class="brush: plain;">
&lt;pre&gt;commentCountAuthor();
&lt;/pre&gt;
</pre>
<p><strong>Thanks To wpcanyon for this awesome code</strong></p>
</div>



<p>Related posts:<ol><li><a href='http://www.idolmasti.com/3090/style-author-comments-in-wordpress-2-7/' rel='bookmark' title='Permanent Link: Style author comments in WordPress 2.7'>Style author comments in WordPress 2.7</a></li>
<li><a href='http://www.idolmasti.com/3151/get-popular-posts-by-comments-count-wordpress-hack/' rel='bookmark' title='Permanent Link: Get popular posts by comments count &#8211; WordPress Hack'>Get popular posts by comments count &#8211; WordPress Hack</a></li>
<li><a href='http://www.idolmasti.com/3159/insert-comments-programatically-wordpress-hack/' rel='bookmark' title='Permanent Link: Insert comments programatically &#8211; WordPress Hack'>Insert comments programatically &#8211; WordPress Hack</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.idolmasti.com/3228/showing-amount-of-comments-a-comment-author-made/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to automatically create a custom field when a post is published</title>
		<link>http://www.idolmasti.com/3224/how-to-automatically-create-a-custom-field-when-a-post-is-published/</link>
		<comments>http://www.idolmasti.com/3224/how-to-automatically-create-a-custom-field-when-a-post-is-published/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 09:00:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.idolmasti.com/?p=3224</guid>
		<description><![CDATA[<a href="http://www.idolmasti.com/3224/how-to-automatically-create-a-custom-field-when-a-post-is-published/"><img align="left" hspace="5" width="200" height="200" src="http://www.idolmasti.com/wp-content/uploads/2010/06/abstract3.jpg" class="alignleft tfe wp-post-image" alt="abstract3" title="abstract3" /></a>Ever wanted to be able to automatically create a custom field with a value when a post (or page) is created? Then this snippet is for you. Paste the code below into your functions.php file. The only thing you have to do is to edit the cutsom field name on line 6. &#60;pre&#62;add_action('publish_page', 'add_custom_field_automatically'); add_action('publish_post', [...]


Related posts:<ol><li><a href='http://www.idolmasti.com/2855/how-to-display-an-incrementing-number-next-to-each-published-post/' rel='bookmark' title='Permanent Link: How to display an incrementing number next to each published post'>How to display an incrementing number next to each published post</a></li>
<li><a href='http://www.idolmasti.com/3041/embed-css-in-your-posts-with-a-custom-field/' rel='bookmark' title='Permanent Link: Embed CSS in your posts with a custom field'>Embed CSS in your posts with a custom field</a></li>
<li><a href='http://www.idolmasti.com/3005/wordpress-tip-insert-custom-content-after-each-post/' rel='bookmark' title='Permanent Link: WordPress tip: Insert custom content after each post'>WordPress tip: Insert custom content after each post</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>Ever wanted to be able to automatically create a custom field with a  value when a post (or page) is created? Then this snippet is for you.</p>
<p>Paste the code below into your <em>functions.php</em> file. The only  thing you have to do is to edit the cutsom field name on line 6.</p>
<pre class="brush: plain;">
&lt;pre&gt;add_action('publish_page', 'add_custom_field_automatically');
add_action('publish_post', 'add_custom_field_automatically');
function add_custom_field_automatically($post_ID) {
	global $wpdb;
	if(!wp_is_post_revision($post_ID)) {
		add_post_meta($post_ID, 'field-name', 'custom value', true);
	}
}
&lt;/pre&gt;
</pre>
<p><strong><em>Thanks to wpCanyon for this cool tip!</em></strong></p>



<p>Related posts:<ol><li><a href='http://www.idolmasti.com/2855/how-to-display-an-incrementing-number-next-to-each-published-post/' rel='bookmark' title='Permanent Link: How to display an incrementing number next to each published post'>How to display an incrementing number next to each published post</a></li>
<li><a href='http://www.idolmasti.com/3041/embed-css-in-your-posts-with-a-custom-field/' rel='bookmark' title='Permanent Link: Embed CSS in your posts with a custom field'>Embed CSS in your posts with a custom field</a></li>
<li><a href='http://www.idolmasti.com/3005/wordpress-tip-insert-custom-content-after-each-post/' rel='bookmark' title='Permanent Link: WordPress tip: Insert custom content after each post'>WordPress tip: Insert custom content after each post</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.idolmasti.com/3224/how-to-automatically-create-a-custom-field-when-a-post-is-published/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>How to Display Facebook Fan Count in Text</title>
		<link>http://www.idolmasti.com/3214/how-to-display-facebook-fan-count-in-text/</link>
		<comments>http://www.idolmasti.com/3214/how-to-display-facebook-fan-count-in-text/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 11:56:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.idolmasti.com/?p=3214</guid>
		<description><![CDATA[<a href="http://www.idolmasti.com/3214/how-to-display-facebook-fan-count-in-text/"><img align="left" hspace="5" width="300" src="http://i49.tinypic.com/w215rq.jpg" class="alignleft wp-post-image tfe" alt="How to Display Facebook Fan Count in Text" title="How to Display Facebook Fan Count in Text" /></a>Adding a Facebook Like Button on your website or blog is perhaps one of the easiest and most effective way to get more fans and earn more likes. If you have hundreds, thousand or perhaps tens of thousand of fans, it might be a good idea to publish a fan count. Fan count displays in [...]


Related posts:<ol><li><a href='http://www.idolmasti.com/1730/facebook-takes-over-its-own-display-advertising-from-microsoft-keeps-bing-for-web-search/' rel='bookmark' title='Permanent Link: Facebook Takes Over Its Own Display Advertising From Microsoft, Keeps Bing For Web Search'>Facebook Takes Over Its Own Display Advertising From Microsoft, Keeps Bing For Web Search</a></li>
<li><a href='http://www.idolmasti.com/3151/get-popular-posts-by-comments-count-wordpress-hack/' rel='bookmark' title='Permanent Link: Get popular posts by comments count &#8211; WordPress Hack'>Get popular posts by comments count &#8211; WordPress Hack</a></li>
<li><a href='http://www.idolmasti.com/2978/how-to-display-the-total-number-of-trackbacks/' rel='bookmark' title='Permanent Link: How to: Display the total number of trackbacks'>How to: Display the total number of trackbacks</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>Adding a Facebook Like Button on your website or blog is perhaps one of the easiest and most effective way to get more fans and earn more likes. If you have hundreds, thousand or perhaps tens of thousand of fans, it might be a good idea to publish a fan count. Fan count displays in numeric text total fans your Facebook page has, or rather, how many have liked your page</p>
<div class="wp-caption aligncenter" style="width: 510px"><img title="How to Display Facebook Fan Count in Text" src="http://i49.tinypic.com/w215rq.jpg" alt="How to Display Facebook Fan Count in Text" width="500" height="362" /><p class="wp-caption-text">How to Display Facebook Fan Count in Text</p></div>
<p>The technique is simple and very similar to displaying Google feedcount in text. The only difference is – we will be using Facebook’s API. In this post, we want to show you how it can be done so you can add them into your WordPress blog or PHP powered website. Load up your favorite code editor, here we go.</p>
<p><strong>Step 1 – Get API Key, Application Secret &amp; Page ID</strong><br />
These are the three mandatory information you’ll need to get things started.</p>
<p><strong><em>API Key and Application Secret</em></strong><br />
Sign in to your <a href="http://www.facebook.com/">Facebook</a> and click  on <a href="http://www.facebook.com/developers?ref=bookmarks">Developer</a>’s  link on the site bar. (If you don’t have a Developer’s account, you  will<img class="aligncenter" src="http://i48.tinypic.com/fkof8g.jpg" alt="" width="176" height="154" /></p>
<p>have to <a href="http://developers.facebook.com/">sign up</a> for  one first)</p>
<p>Click &#8220;<strong>Set Up New Application</strong>&#8220;. Enter any application   name, agree to the Facebook terms and click <strong>&#8220;Create Application</strong>&#8220;.   <strong>Note:</strong> We are not going to create a real application,   but we’ll need to go through these processes to get a <strong>API Key</strong> and <strong>Application Secret</strong></p>
<p><img class="aligncenter" src="http://i48.tinypic.com/255mj41.jpg" alt="" width="500" height="146" /></p>
<p>On the next page, you should be able to see your personal API Key and Application Secret. Copy it down somewhere or leave the browser window open.</p>
<p><img class="alignnone" src="http://i47.tinypic.com/i5n8l1.jpg" alt="" width="500" height="171" /></p>
<p>Page ID</p>
<p>Page ID is the ID of your Facebook Fan Page. If you don’t have a Facebook Fan page, you’ll have to first create one. To get the ID of your Fan page, click edit page, and look for your ID (numbers) at the end of the URL – http://www.facebook.com/pages/edit/?id=XXXXXXXXX</p>
<h4>Step 2 – Get <code>Facebook.php</code></h4>
<p>You’ll also need the <strong>Facebook API PHP SDK</strong> file  called <code><a href="http://github.com/facebook/php-sdk/blob/master/src/facebook.php">Facebook.php</a></code>.  Download it, and place it in the root of your folder. <a href="http://www.hongkiat.com/blog/how-to-display-facebook-fan-count-in-text/Official%20PHP%20SDK"><em>Learn  more</em></a><em> about <strong>Facebook PHP SDK</strong>.</em></p>
<p><em><img class="alignnone" src="http://i47.tinypic.com/jai3cz.jpg" alt="" width="500" height="216" /></em></p>
<p><strong>Step 3 – Display Fancount</strong></p>
<p>To show off your fancount, place the following code in your php file,</p>
<pre class="brush: plain;">&lt;?php
require_once('facebook.php');
$facebook = new Facebook(array(
 'appId'  =&gt; 'app_id',
 'secret' =&gt; 'secret_key',
 'cookie' =&gt; true,
));
$result = $facebook-&gt;api(array(
 'method' =&gt; 'fql.query',
 'query' =&gt; 'select fan_count from page where page_id = page_id;'
));
$fb_fans = $result[0]['fan_count'];
?&gt;
</pre>
<p>And then you will want to edit the codes to change the following:</p>
<ul>
<li>Line 4 – Replace <code>app_id</code> with  your <strong>Facebook Application ID</strong>.</li>
<li>Line 5 – Replace <code>secret_key</code> with <strong>Secret</strong>.</li>
<li>Line 10 – Replace the last <code>page_id</code> with your <strong>Facebook  Fanpage ID</strong>.</li>
</ul>
<p>Please refer to <em><strong>Step 1</strong></em> on how to get <code>app_id</code>, <code>secret_key</code> and <code>page_id</code>.</p>
<p>To display the fancount, insert this following code anywhere in the  page:</p>
<pre class="brush: plain;">&lt;?php echo $fb_fans; ?&gt;
</pre>
<p>Via Hongkiat</p>



<p>Related posts:<ol><li><a href='http://www.idolmasti.com/1730/facebook-takes-over-its-own-display-advertising-from-microsoft-keeps-bing-for-web-search/' rel='bookmark' title='Permanent Link: Facebook Takes Over Its Own Display Advertising From Microsoft, Keeps Bing For Web Search'>Facebook Takes Over Its Own Display Advertising From Microsoft, Keeps Bing For Web Search</a></li>
<li><a href='http://www.idolmasti.com/3151/get-popular-posts-by-comments-count-wordpress-hack/' rel='bookmark' title='Permanent Link: Get popular posts by comments count &#8211; WordPress Hack'>Get popular posts by comments count &#8211; WordPress Hack</a></li>
<li><a href='http://www.idolmasti.com/2978/how-to-display-the-total-number-of-trackbacks/' rel='bookmark' title='Permanent Link: How to: Display the total number of trackbacks'>How to: Display the total number of trackbacks</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.idolmasti.com/3214/how-to-display-facebook-fan-count-in-text/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Display post thumbnail in your RSS feed</title>
		<link>http://www.idolmasti.com/3210/display-post-thumbnail-in-your-rss-feed/</link>
		<comments>http://www.idolmasti.com/3210/display-post-thumbnail-in-your-rss-feed/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 11:31:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.idolmasti.com/?p=3210</guid>
		<description><![CDATA[<a href="http://www.idolmasti.com/3210/display-post-thumbnail-in-your-rss-feed/"><img align="left" hspace="5" width="200" height="200" src="http://www.idolmasti.com/wp-content/uploads/2010/06/wp2.jpg" class="alignleft tfe wp-post-image" alt="wp2" title="wp2" /></a>Introduced in WordPress 2.9, get_the_post_thumbnail() allow you to display a thumbnail in your posts. But what about displaying post thumbnails in RSS feeds? Just read this recipe to know how to do. Simply paste the following code in your functions.php file. The post thumbnail should be visible once you saved the file. &#60;pre&#62;function diw_post_thumbnail_feeds($content) { [...]


Related posts:<ol><li><a href='http://www.idolmasti.com/3005/wordpress-tip-insert-custom-content-after-each-post/' rel='bookmark' title='Permanent Link: WordPress tip: Insert custom content after each post'>WordPress tip: Insert custom content after each post</a></li>
<li><a href='http://www.idolmasti.com/2866/replace-full-post-by-excerpts-on-homepage-without-editing-your-theme-files/' rel='bookmark' title='Permanent Link: Replace full post by excerpts on homepage without editing your theme files'>Replace full post by excerpts on homepage without editing your theme files</a></li>
<li><a href='http://www.idolmasti.com/2985/hack-insert-ads-in-your-rss-feed/' rel='bookmark' title='Permanent Link: Hack: insert ads in your RSS feed'>Hack: insert ads in your RSS feed</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>Introduced in WordPress 2.9, get_the_post_thumbnail() allow you to  display a thumbnail in your posts. But what about displaying post  thumbnails in RSS feeds? Just read this recipe to know how to do.</p>
<p>Simply paste the following code in your functions.php file. The post  thumbnail should be visible once you saved the file.</p>
<pre class="brush: plain;">
&lt;pre&gt;function diw_post_thumbnail_feeds($content) {
	global $post;
	if(has_post_thumbnail($post-&gt;ID)) {
		$content = '&lt;div&gt;' . get_the_post_thumbnail($post-&gt;ID) . '&lt;/div&gt;' . $content;
	}
	return $content;
}
add_filter('the_excerpt_rss', 'diw_post_thumbnail_feeds');
add_filter('the_content_feed', 'diw_post_thumbnail_feeds');
&lt;/pre&gt;
</pre>
<p><strong><em>Thanks to Jeff Starr for this great tip!</em></strong></p>



<p>Related posts:<ol><li><a href='http://www.idolmasti.com/3005/wordpress-tip-insert-custom-content-after-each-post/' rel='bookmark' title='Permanent Link: WordPress tip: Insert custom content after each post'>WordPress tip: Insert custom content after each post</a></li>
<li><a href='http://www.idolmasti.com/2866/replace-full-post-by-excerpts-on-homepage-without-editing-your-theme-files/' rel='bookmark' title='Permanent Link: Replace full post by excerpts on homepage without editing your theme files'>Replace full post by excerpts on homepage without editing your theme files</a></li>
<li><a href='http://www.idolmasti.com/2985/hack-insert-ads-in-your-rss-feed/' rel='bookmark' title='Permanent Link: Hack: insert ads in your RSS feed'>Hack: insert ads in your RSS feed</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.idolmasti.com/3210/display-post-thumbnail-in-your-rss-feed/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Bollywood Actress Kareena Kapoor is India’s most beautiful woman</title>
		<link>http://www.idolmasti.com/3205/bollywood-actress-kareena-kapoor-is-india%e2%80%99s-most-beautiful-woman/</link>
		<comments>http://www.idolmasti.com/3205/bollywood-actress-kareena-kapoor-is-india%e2%80%99s-most-beautiful-woman/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 19:49:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[World]]></category>

		<guid isPermaLink="false">http://www.idolmasti.com/?p=3205</guid>
		<description><![CDATA[<a href="http://www.idolmasti.com/3205/bollywood-actress-kareena-kapoor-is-india%e2%80%99s-most-beautiful-woman/"><img align="left" hspace="5" width="300" src="http://bollywood101.com/userfiles/2010/6/17/images/Bollywood-Actress-Kareena-K.gif" class="alignleft wp-post-image tfe" alt="Bollywood" title="Bollywood" /></a>Reigning steady at the Numero Uno position – Kareena Kapoor was recently voted as India’s Most Beautiful Woman by the People Magazine. Kareena Kapoor, who features on the cover of the magazine credits her beauty to her fitness regime and her diet. The issue that takes readers through her growing up years also touches on [...]


Related posts:<ol><li><a href='http://www.idolmasti.com/371/google-school-googlle/' rel='bookmark' title='Permanent Link: Googlle Opens A School In India. Wait. Read That Name Again'>Googlle Opens A School In India. Wait. Read That Name Again</a></li>
<li><a href='http://www.idolmasti.com/126/vindoo-hopes-for-turn-around-after-big-boss-win/' rel='bookmark' title='Permanent Link: Vindoo hopes for turn around after Big Boss win'>Vindoo hopes for turn around after Big Boss win</a></li>
<li><a href='http://www.idolmasti.com/2848/60-beautiful-anime-manga-wallpapers/' rel='bookmark' title='Permanent Link: 60 Beautiful Anime &#038; Manga Wallpapers'>60 Beautiful Anime &#038; Manga Wallpapers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<div class="wp-caption aligncenter" style="width: 510px"><img title="Bollywood's Most Beautiful Actress" src="http://bollywood101.com/userfiles/2010/6/17/images/Bollywood-Actress-Kareena-K.gif" alt="Bollywood's Most Beautiful Actress" width="500" height="261" /><p class="wp-caption-text">Bollywood&#39;s Most Beautiful Actress</p></div>
<p>Reigning steady at the Numero Uno position – Kareena Kapoor was recently voted as India’s Most Beautiful Woman by the People Magazine. Kareena Kapoor, who features on the cover of the magazine credits her beauty to her fitness regime and her diet.</p>
<p>The issue that takes readers through her growing up years also touches on questions like ‘When does she feel the most beautiful.’ Says Kareena Kapoor in an exclusive interview with People Magazine, “I believe that you are what you eat”.</p>
<p>The Czarina of the Bollywood Industry also goes on to reveal that her stable relationship and career have brought her peace of mind which shows on her face. Indeed Kareena Kapoor does have a lot going for her with the juiciest projects and largest number of brands in her kitty. Kareena is currently shooting for Golmaal 3, Ra.1, Agent Vinod and Stepmom. She also won the ‘Quick Heal NDTV Tech Life Award for Best Celebrity Endorser’.</p>



<p>Related posts:<ol><li><a href='http://www.idolmasti.com/371/google-school-googlle/' rel='bookmark' title='Permanent Link: Googlle Opens A School In India. Wait. Read That Name Again'>Googlle Opens A School In India. Wait. Read That Name Again</a></li>
<li><a href='http://www.idolmasti.com/126/vindoo-hopes-for-turn-around-after-big-boss-win/' rel='bookmark' title='Permanent Link: Vindoo hopes for turn around after Big Boss win'>Vindoo hopes for turn around after Big Boss win</a></li>
<li><a href='http://www.idolmasti.com/2848/60-beautiful-anime-manga-wallpapers/' rel='bookmark' title='Permanent Link: 60 Beautiful Anime &#038; Manga Wallpapers'>60 Beautiful Anime &#038; Manga Wallpapers</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.idolmasti.com/3205/bollywood-actress-kareena-kapoor-is-india%e2%80%99s-most-beautiful-woman/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>10 Most Exotic Amusement Parks</title>
		<link>http://www.idolmasti.com/3194/10-most-exotic-amusement-parks/</link>
		<comments>http://www.idolmasti.com/3194/10-most-exotic-amusement-parks/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 18:22:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.idolmasti.com/?p=3194</guid>
		<description><![CDATA[<a href="http://www.idolmasti.com/3194/10-most-exotic-amusement-parks/"><img align="left" hspace="5" width="300" height="400" src="http://www.idolmasti.com/wp-content/uploads/2010/06/10-most-exotic-amusement-parks.png" class="alignleft tfe wp-post-image" alt="10 Most Exotic Amusement Parks" title="10 Most Exotic Amusement Parks" /></a>While talking about the amusement parks, each of us might name only few details that make one of the parks to differ from the rest. So do you think amusement parks are different from each other only with the height of “roller coaster”? Or with the amount of the crowd? However, there are a lot [...]


Related posts:<ol><li><a href='http://www.idolmasti.com/1413/gowalla-opens-trips-to-all-a-simple-way-to-organize-pub-crawls/' rel='bookmark' title='Permanent Link: Gowalla Opens Trips To All. A Simple Way To Organize Pub Crawls'>Gowalla Opens Trips To All. A Simple Way To Organize Pub Crawls</a></li>
<li><a href='http://www.idolmasti.com/146/female-scientist-reignites-%e2%80%9cbattle-of-the-sexes%e2%80%9d-with-a-parking-test/' rel='bookmark' title='Permanent Link: Female Scientist Reignites “Battle of the Sexes” with a Parking Test'>Female Scientist Reignites “Battle of the Sexes” with a Parking Test</a></li>
<li><a href='http://www.idolmasti.com/1043/german-city-threatens-to-sue-holder-of-its-twitter-name/' rel='bookmark' title='Permanent Link: German city threatens to sue holder of its Twitter name'>German city threatens to sue holder of its Twitter name</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>While talking about the amusement parks, each of us might name only few  details that make one of the parks to differ from the rest. So do you  think amusement parks are different from each other only with the height  of “roller coaster”? Or with the amount of the crowd? However, there  are a lot of interesting theme parks that can surprise even the most  carefree tourist. Let’s get through the list of the 10 most interesting  ones.</p>
<p><strong>Suoi Tien Park, Vietnam </strong></p>
<p><strong><br />
</strong></p>
<p><strong><img class="alignnone" title="Suoi Tien Park, Vietnam" src="http://i46.tinypic.com/i5na4y.jpg" alt="" width="600" height="450" /></strong></p>
<p>Do you have any plans to visit heaven? For this reason it is not  necessarily to fly into the space, you can go to Vietnam. Huge colorful  park can be simply regarded as heaven, as this is the way it is seen by  Buddhists. There are all miracles, you will not find anywhere else!  There is an abundance of giant sacred statues of various creatures. Just  imagine that one of the fantastic dragon’s head weighs no less than 300  tons! An aquarium with one and a half thousand crocodiles, Unicorn des  with mythical creatures, and the gatekeepers of hell – you will find a  full immersion into the world of Buddhist mythology.<br />
The park is a simple way of getting acquainted with the Buddhism culture  and the ways they perceive the world.</p>
<p><strong>Crocosaurus Cove, Australia </strong></p>
<p><strong><img class="alignnone" title="Crocosaurus Cove, Australia " src="http://i45.tinypic.com/21j8up2.jpg" alt="" width="604" height="402" /></strong></p>
<p>What an excellent proposal for a family vacation – a trip into the world  of crocodiles! Surely, nobody’s going to give your family members to be  devoured by the bloodthirsty reptiles. The fans of the extreme  sceneries are getting thrilled watching scary creatures from inside the  huge crowded crocodile tank, but being protected from them with the help  of a solid transparent acrylic wall. The program includes good  old-fashioned fishing, during which children and the adults tease  reptiles to put on hook bait.<br />
Do not forget to go to the store to buy souvenirs made of crocodile  skin! Here this kind of souvenirs can be purchased for quite a  reasonable price.</p>
<p><strong> Dwarf Empire, China </strong></p>
<p><strong><img class="alignnone" title="Dwarf Empire, China" src="http://i45.tinypic.com/29x91xg.jpg" alt="" width="600" height="376" /></strong></p>
<p>In the southern part of the Celestial Empire in the town of Kunming  there’s a hill open for the tourist. Right on the top of the hill there  is a small and very strange park. All of people working for it – from  the show artists up to the cleaners are shorter than 130 centimeters. In  fact, this mini-community can be described with its own emperor,  empress, and even Parliament. About a hundred young people live here, in  small houses. For the life of the inhabitants of Lilliput there are  multiple costume plays, dances and other shows.<br />
The place host hundreds of tourists daily and its popularity is rising  with each year.</p>
<p><strong>Harmony Land, Japan</strong></p>
<p><strong><img class="alignnone" title="Harmony Land, Japan" src="http://i49.tinypic.com/34gq6uh.jpg" alt="" width="600" height="450" /></strong></p>
<p>All the princesses, as well as all the Hello Kitty admirers of all ages  should definitely visit this amazing Japanese theme park. The list of  the possible activities is enormous: a walk in the castle of friendly  cats,  a boat ride through the underground homes of her friends, soaring  into the sky on the Ferris wheel, watching a movie with 3D-effect and  of course, buying  tons of cute pink souvenirs. The girlish excitement  is guaranteed here.<br />
Be sure to stay on Fantasy Night Show – a beautiful musical laser show.</p>
<p><strong> BonBon-Land, Denmark</strong></p>
<p><strong><img class="alignnone" title="BonBon-Land, Denmark" src="http://i49.tinypic.com/30a43k7.jpg" alt="" width="600" height="400" /></strong></p>
<p>Though this park, located in the southern part of Denmark, is named  in honor of the popular candy inside of it there’s not to much that can  awaken the appetite. The park is crowded with images of suffering from  vomiting rats, urine and other ants are not the most beloved forms of  living organisms. For the lovers of sweets in the park there are a few  very naturalistic candies and thus it is appropriate to note their names  of  “bird droppings” or “dead flies”.</p>
<p>However, unlike some of the disappointed parents, six years old  children are just too much satisfied with such a “toilet” humor.</p>
<p><strong>Dickens World, United Kingdom</strong></p>
<p><strong><img class="alignnone" title="Dickens World, United Kingdom" src="http://i50.tinypic.com/2zehzro.jpg" alt="" width="500" height="457" /></strong></p>
<p>Even if you’re not whiling away the winter evenings of leisurely  reading the novels of Dickens, you may be interested to move to a couple  of centuries ago and briefly immers in a world of hunger and poverty,  to be among the beggars and fugitives. In 2007, the British opened a  huge theme park, meticulously reproducing the atmosphere of the city in  early XIX century.</p>
<p>The most popular attraction of the park is the boat trip based on the  novel “Great Expectations”, while repeating Magwitch escape from the  prison.</p>
<p><strong>Love Land, South Korea</strong></p>
<p><strong><img class="alignnone" title="Love Land, South Korea" src="http://i45.tinypic.com/1rfejt.jpg" alt="" width="500" height="375" /></strong></p>
<p>Situated on the southern coast of the island Haeju, this sex themed park  was created in 2004 specifically to help the Korean newlyweds to  explore the life of the married couples. This place was chosen not by  chance: it was on this island where the locals love to spend their  honeymoon. And now they are required to drive into the park to wander  among the 140 sculptures and watch films about sex.<br />
Isn’t this the best way to get the tutorials?</p>
<p><strong>Ferrari World, UAE</strong></p>
<p><strong><img class="alignnone" title="Ferrari World, UAE" src="http://i50.tinypic.com/293vo8n.jpg" alt="" width="600" height="400" /></strong></p>
<p>The wonderful city of Abu Dhabi is hosting the world’s first theme park  dedicated to the “Ferrari”. This is also the largest indoor park in the  world: its territory is about 64 square kilometers. Inside there are 20  rides, race promoters and even the world’s fastest roller coaster, and  the roof of this huge hall, of course, is decorated with the mark with a  black horse on a yellow background,  largest in the world. It is  assumed that the grand building will open up already in late 2010.</p>
<p><strong>Holy Land Experience, USA</strong></p>
<p><strong><img class="alignnone" title="Holy Land Experience, USA" src="http://i50.tinypic.com/15dnvx3.jpg" alt="" width="800" height="600" /></strong></p>
<p>Not far from Disneyland in Orlando, Florida is a park that can impress  any ordinary person, believer and unbeliever. The entire space of the  park is like a great theater, which unfolds scenes from biblical  history. You can stroll through the streets of ancient Jerusalem,  join  the disciples for  the Last Supper.<br />
No matter how you feel about the religion, but this place will give you a  desire of getting peace in the world.</p>
<p><strong>Dubailand, UAE</strong></p>
<p><strong><img class="alignnone" title="Dubailand, UAE" src="http://i47.tinypic.com/a5gg7m.jpg" alt="" width="600" height="312" /></strong></p>
<p>Emirates is known for thegrandiose projects. That’ also true about  Dubailand – a huge, 278 square kilometer oasis consisting of several  skyscrapers, modern resorts and the world’s largest water park with  luxurious beaches and unique artificial reefs. In Falcon city of Wonders  you can see a very realistic reconstruction of the Seven Wonders of the  World (well, at least according to the creators of Dubailand) of the  Egyptian pyramids and the gardens of Babylon to Pisa and the Eiffel  tower.</p>



<p>Related posts:<ol><li><a href='http://www.idolmasti.com/1413/gowalla-opens-trips-to-all-a-simple-way-to-organize-pub-crawls/' rel='bookmark' title='Permanent Link: Gowalla Opens Trips To All. A Simple Way To Organize Pub Crawls'>Gowalla Opens Trips To All. A Simple Way To Organize Pub Crawls</a></li>
<li><a href='http://www.idolmasti.com/146/female-scientist-reignites-%e2%80%9cbattle-of-the-sexes%e2%80%9d-with-a-parking-test/' rel='bookmark' title='Permanent Link: Female Scientist Reignites “Battle of the Sexes” with a Parking Test'>Female Scientist Reignites “Battle of the Sexes” with a Parking Test</a></li>
<li><a href='http://www.idolmasti.com/1043/german-city-threatens-to-sue-holder-of-its-twitter-name/' rel='bookmark' title='Permanent Link: German city threatens to sue holder of its Twitter name'>German city threatens to sue holder of its Twitter name</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.idolmasti.com/3194/10-most-exotic-amusement-parks/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Remove admin name in comments class</title>
		<link>http://www.idolmasti.com/3191/remove-admin-name-in-comments-class/</link>
		<comments>http://www.idolmasti.com/3191/remove-admin-name-in-comments-class/#comments</comments>
		<pubDate>Thu, 27 May 2010 17:38:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.idolmasti.com/?p=3191</guid>
		<description><![CDATA[<a href="http://www.idolmasti.com/3191/remove-admin-name-in-comments-class/"><img align="left" hspace="5" width="300" height="400" src="http://www.idolmasti.com/wp-content/uploads/2010/05/wp-s.png" class="alignleft tfe wp-post-image" alt="Wordpress Security" title="Wordpress Security" /></a>By default, when the blog admin left a comment on his blog, WordPress use the name in the comment css class. This is useful for styling, but it will also let people know about your admin login name. If you want to hide this info This code simply have to be pasted in your functions.php [...]


Related posts:<ol><li><a href='http://www.idolmasti.com/3228/showing-amount-of-comments-a-comment-author-made/' rel='bookmark' title='Permanent Link: Showing Amount Of Comments A Comment Author Made'>Showing Amount Of Comments A Comment Author Made</a></li>
<li><a href='http://www.idolmasti.com/2962/how-to-automatically-remove-code-mistakes-in-posts/' rel='bookmark' title='Permanent Link: How to: Automatically remove code mistakes in posts'>How to: Automatically remove code mistakes in posts</a></li>
<li><a href='http://www.idolmasti.com/3159/insert-comments-programatically-wordpress-hack/' rel='bookmark' title='Permanent Link: Insert comments programatically &#8211; WordPress Hack'>Insert comments programatically &#8211; WordPress Hack</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>By default, when the blog admin left a comment on his blog, WordPress  use the name in the comment css class. This is useful for styling, but  it will also let people know about your admin login name. If you want to  hide this info</p>
<p>This code simply have to be pasted in your <em>functions.php</em> file to work:</p>
<pre class="brush: plain;">function remove_comment_author_class( $classes ) {
 foreach( $classes as $key =&gt; $class ) {
 if(strstr($class, &quot;comment-author-&quot;)) {
 unset( $classes[$key] );
 }
 }
 return $classes;
}
add_filter( 'comment_class' , 'remove_comment_author_class' );</pre>
<p>Thanks to C. Bavota for this interesting piece of code!</p>



<p>Related posts:<ol><li><a href='http://www.idolmasti.com/3228/showing-amount-of-comments-a-comment-author-made/' rel='bookmark' title='Permanent Link: Showing Amount Of Comments A Comment Author Made'>Showing Amount Of Comments A Comment Author Made</a></li>
<li><a href='http://www.idolmasti.com/2962/how-to-automatically-remove-code-mistakes-in-posts/' rel='bookmark' title='Permanent Link: How to: Automatically remove code mistakes in posts'>How to: Automatically remove code mistakes in posts</a></li>
<li><a href='http://www.idolmasti.com/3159/insert-comments-programatically-wordpress-hack/' rel='bookmark' title='Permanent Link: Insert comments programatically &#8211; WordPress Hack'>Insert comments programatically &#8211; WordPress Hack</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.idolmasti.com/3191/remove-admin-name-in-comments-class/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Websites That Are Blocked In Pakistan</title>
		<link>http://www.idolmasti.com/3187/websites-that-are-blocked-in-pakistan/</link>
		<comments>http://www.idolmasti.com/3187/websites-that-are-blocked-in-pakistan/#comments</comments>
		<pubDate>Tue, 25 May 2010 15:47:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Sci/Tech]]></category>
		<category><![CDATA[World]]></category>

		<guid isPermaLink="false">http://www.idolmasti.com/?p=3187</guid>
		<description><![CDATA[<a href="http://www.idolmasti.com/3187/websites-that-are-blocked-in-pakistan/"><img align="left" hspace="5" width="300" height="400" src="http://www.idolmasti.com/wp-content/uploads/2010/05/baned.png" class="alignleft tfe wp-post-image" alt="Banned" title="Banned" /></a>In crackdown against blasphemous content on Facebook earlier, PTA has blocked around one thousand websites, mostly of which are proxies, a service that is used to access blocked content. PTA officials earlier confirmed ProPakistani that Facebook and Youtube were blocked at domain level, while Wikipedia, Twitter, Flicker were blocked at URL level due to blasphemous [...]


Related posts:<ol><li><a href='http://www.idolmasti.com/1139/websites-and-words-that-are-blocked-in-china/' rel='bookmark' title='Permanent Link: Websites and Words That Are Blocked in China'>Websites and Words That Are Blocked in China</a></li>
<li><a href='http://www.idolmasti.com/1472/netbiscuits-signs-tasty-deal-with-umg-for-artist-branded-mobile-websites/' rel='bookmark' title='Permanent Link: Netbiscuits Signs Tasty Deal With UMG For Artist-branded Mobile Websites'>Netbiscuits Signs Tasty Deal With UMG For Artist-branded Mobile Websites</a></li>
<li><a href='http://www.idolmasti.com/853/fa-il-bing%e2%80%99s-url-shortener-is-longer-than-bing%e2%80%99s-own-domain/' rel='bookmark' title='Permanent Link: Fa.il: Bing’s URL Shortener Is Longer Than Bing’s Own Domain'>Fa.il: Bing’s URL Shortener Is Longer Than Bing’s Own Domain</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[
<p>In crackdown against blasphemous content on Facebook earlier, PTA has  blocked around one thousand websites, mostly of which are proxies, a  service that is used to access blocked content.</p>
<p>PTA officials earlier confirmed ProPakistani that Facebook and  Youtube were blocked at domain level, while Wikipedia, Twitter, Flicker  were blocked at URL level due to blasphemous content on these websites.</p>
<p>Official applauded ISPs’ role during last 5 days and said they were  of immense support for blocking all the websites/URLs that PTA had asked  them for.</p>
<p>He said, at this massive level of operation, where there are 2/3 URLs  were coming every minute, some websites went blocked at domain level  instead of URL level, such as Wikipedia. However, there was another  monitoring team in place to make sure that implementation of orders is  being done correctly.</p>
<p>He said that if anyone find any blocked domain is un-just they can  contact special cell for the purpose at 0800-55055 or  complaints@pta.gov.pk</p>
<p>Similarly, users can contact the same numbers and email to report any  blasphemous URL that is not blocked, said the official.</p>
<p>Here <a href="http://www.msnspot.com/index.php/topic,1352.0.html" target="_blank">is the list</a> of blocked websites, Courtesy Of <a href="http://www.msnspot.com" target="_blank">MsnSpot</a></p>



<p>Related posts:<ol><li><a href='http://www.idolmasti.com/1139/websites-and-words-that-are-blocked-in-china/' rel='bookmark' title='Permanent Link: Websites and Words That Are Blocked in China'>Websites and Words That Are Blocked in China</a></li>
<li><a href='http://www.idolmasti.com/1472/netbiscuits-signs-tasty-deal-with-umg-for-artist-branded-mobile-websites/' rel='bookmark' title='Permanent Link: Netbiscuits Signs Tasty Deal With UMG For Artist-branded Mobile Websites'>Netbiscuits Signs Tasty Deal With UMG For Artist-branded Mobile Websites</a></li>
<li><a href='http://www.idolmasti.com/853/fa-il-bing%e2%80%99s-url-shortener-is-longer-than-bing%e2%80%99s-own-domain/' rel='bookmark' title='Permanent Link: Fa.il: Bing’s URL Shortener Is Longer Than Bing’s Own Domain'>Fa.il: Bing’s URL Shortener Is Longer Than Bing’s Own Domain</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.idolmasti.com/3187/websites-that-are-blocked-in-pakistan/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 1.227 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-09-06 08:20:47 -->
