<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:media="http://search.yahoo.com/mrss/"	>
<channel>
	<title>Comments on: How to Remove Default Author Profile Fields in WordPress</title>
	<atom:link href="http://www.wpbeginner.com/wp-tutorials/how-to-remove-default-author-profile-fields-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wpbeginner.com/wp-tutorials/how-to-remove-default-author-profile-fields-in-wordpress/</link>
	<description>Beginner&#039;s Guide for WordPress</description>
	<lastBuildDate>Thu, 09 Feb 2012 16:04:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: VenkatEswaran</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-remove-default-author-profile-fields-in-wordpress/comment-page-1/#comment-124738</link>
		<dc:creator>VenkatEswaran</dc:creator>
		<pubDate>Mon, 19 Dec 2011 12:02:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1562#comment-124738</guid>
		<description>this is how my fields look 

 

 function extra_contact_info($contactmethods)

{

unset($contactmethods[&#039;aim&#039;]);     unset($contactmethods[&#039;yim&#039;]);     unset($contactmethods[&#039;jabber&#039;]);     unset($contactmethods[&#039;website&#039;]);     $contactmethods[&#039;facebook&#039;] = &#039;Facebook&#039;;

$contactmethods[&#039;twitter&#039;] = &#039;Twitter&#039;;

$contactmethods[&#039;linkedin&#039;] = &#039;LinkedIn&#039;;

$contactmethods[&#039;google_profile&#039;] = &#039;Google Profile URL&#039;;

$contactmethods[&#039;Adsense&#039;] = &#039;Adsense&#039;;

$contactmethods[&#039;Adsense250&#039;] = &#039;Google_ad_slot250*250 Code&#039;;      $contactmethods[&#039;Adsense300&#039;] = &#039;Google_ad_slot300*250&#039;;

return $contactmethods;

}

add_filter(&#039;user_contactmethods&#039;, &#039;extra_contact_info&#039;);

 

 

I used to get them with this code in my post  

 

&lt;?php the_author_meta( &#039;twitter&#039; ); ?&gt;

&lt;?php the_author_meta( &#039;facebook&#039; ); ?&gt;

 

it works perfect but  when i get this in my adsence code there is no ads coming 

 

&lt;?php the_author_meta( &#039;Adsense&#039; ); ?&gt;

 

 

 

&lt;script type=&quot;text/javascript&quot;&gt;

&lt;!-- google_ad_client = &quot;&lt;?php the_author_meta( &#039;Adsense&#039; ); ?&gt;&quot;;

/* 250x250,created 8/15/11 */

google_ad_slot = &quot;1738948625&quot;;

google_ad_width = 250;

google_ad_height = 250;

//--&gt; &lt;/script&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;

&lt;/script&gt;

 

 

can u please help me on this</description>
		<content:encoded><![CDATA[<p>this is how my fields look </p>
<p> function extra_contact_info($contactmethods)</p>
<p>{</p>
<p>unset($contactmethods['aim']);     unset($contactmethods['yim']);     unset($contactmethods['jabber']);     unset($contactmethods['website']);     $contactmethods['facebook'] = &#8216;Facebook&#8217;;</p>
<p>$contactmethods['twitter'] = &#8216;Twitter&#8217;;</p>
<p>$contactmethods['linkedin'] = &#8216;LinkedIn&#8217;;</p>
<p>$contactmethods['google_profile'] = &#8216;Google Profile URL&#8217;;</p>
<p>$contactmethods['Adsense'] = &#8216;Adsense&#8217;;</p>
<p>$contactmethods['Adsense250'] = &#8216;Google_ad_slot250*250 Code&#8217;;      $contactmethods['Adsense300'] = &#8216;Google_ad_slot300*250&#8242;;</p>
<p>return $contactmethods;</p>
<p>}</p>
<p>add_filter(&#8216;user_contactmethods&#8217;, &#8216;extra_contact_info&#8217;);</p>
<p>I used to get them with this code in my post  </p>
<p>&lt;?php the_author_meta( &#8216;twitter&#8217; ); ?&gt;</p>
<p>&lt;?php the_author_meta( &#8216;facebook&#8217; ); ?&gt;</p>
<p>it works perfect but  when i get this in my adsence code there is no ads coming </p>
<p>&lt;?php the_author_meta( &#8216;Adsense&#8217; ); ?&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;</p>
<p>&lt;!&#8211; google_ad_client = &#8220;&lt;?php the_author_meta( &#8216;Adsense&#8217; ); ?&gt;&#8221;;</p>
<p>/* 250&#215;250,created 8/15/11 */</p>
<p>google_ad_slot = &#8220;1738948625&#8243;;</p>
<p>google_ad_width = 250;</p>
<p>google_ad_height = 250;</p>
<p>//&#8211;&gt; &lt;/script&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://pagead2.googlesyndication.com/pagead/show_ads.js&#8221;&gt;</p>
<p>&lt;/script&gt;</p>
<p>can u please help me on this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VenkatEswaran</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-remove-default-author-profile-fields-in-wordpress/comment-page-1/#comment-124737</link>
		<dc:creator>VenkatEswaran</dc:creator>
		<pubDate>Mon, 19 Dec 2011 11:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1562#comment-124737</guid>
		<description>how to remove the website</description>
		<content:encoded><![CDATA[<p>how to remove the website</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OneWorld</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-remove-default-author-profile-fields-in-wordpress/comment-page-1/#comment-124489</link>
		<dc:creator>OneWorld</dc:creator>
		<pubDate>Sun, 04 Dec 2011 16:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1562#comment-124489</guid>
		<description>I fixed it now. It had nothing to do with this code. I just put the &quot;add_filter&quot;-method into the __construct method and forgot to make the function public.

 

Other fix could have been (see &quot;array(&amp;$this&quot;...:

 

 add_action(&#039;user_contactmethods&#039;, array(&amp;$this,&#039;my_function&#039;));

@OneWorld</description>
		<content:encoded><![CDATA[<p>I fixed it now. It had nothing to do with this code. I just put the &#8220;add_filter&#8221;-method into the __construct method and forgot to make the function public.</p>
<p>Other fix could have been (see &#8220;array(&amp;$this&#8221;&#8230;:</p>
<p> add_action(&#8216;user_contactmethods&#8217;, array(&amp;$this,&#8217;my_function&#8217;));</p>
<p>@OneWorld</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OneWorld</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-remove-default-author-profile-fields-in-wordpress/comment-page-1/#comment-124488</link>
		<dc:creator>OneWorld</dc:creator>
		<pubDate>Sun, 04 Dec 2011 16:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1562#comment-124488</guid>
		<description>That code raises in WP 3.2.1 following warnings. It removes those 3 entries though:

 

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, &#039;hide_profile_fields&#039; was given in /wp/wp-includes/plugin.php on line 170  Warning: Invalid argument supplied for foreach() in /wp/wp-admin/includes/user.php on line 230</description>
		<content:encoded><![CDATA[<p>That code raises in WP 3.2.1 following warnings. It removes those 3 entries though:</p>
<p>Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, &#8216;hide_profile_fields&#8217; was given in /wp/wp-includes/plugin.php on line 170  Warning: Invalid argument supplied for foreach() in /wp/wp-admin/includes/user.php on line 230</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to Customize WordPress Author Archive Page using Thesis Themes</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-remove-default-author-profile-fields-in-wordpress/comment-page-1/#comment-22151</link>
		<dc:creator>How to Customize WordPress Author Archive Page using Thesis Themes</dc:creator>
		<pubDate>Sat, 19 Jun 2010 17:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1562#comment-22151</guid>
		<description>[...] so I just decided to remove those fields by using the code I found at wpbeginner.com How to Remove Default Author Profile Fields in WordPress and then I have added Twitter and Facebook fields.Here is the code that I am using on our blog by [...]</description>
		<content:encoded><![CDATA[<p>[...] so I just decided to remove those fields by using the code I found at wpbeginner.com How to Remove Default Author Profile Fields in WordPress and then I have added Twitter and Facebook fields.Here is the code that I am using on our blog by [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daily Tip: Remove Extra Fields in the Default WordPress Profile - WordPress MU and BuddyPress plugins, themes, support, tips and how to&#39;s</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-remove-default-author-profile-fields-in-wordpress/comment-page-1/#comment-14211</link>
		<dc:creator>Daily Tip: Remove Extra Fields in the Default WordPress Profile - WordPress MU and BuddyPress plugins, themes, support, tips and how to&#39;s</dc:creator>
		<pubDate>Fri, 23 Apr 2010 00:36:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1562#comment-14211</guid>
		<description>[...] Source: WP Beginner [...]</description>
		<content:encoded><![CDATA[<p>[...] Source: WP Beginner [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michelle</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-remove-default-author-profile-fields-in-wordpress/comment-page-1/#comment-13784</link>
		<dc:creator>Michelle</dc:creator>
		<pubDate>Mon, 19 Apr 2010 17:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1562#comment-13784</guid>
		<description>This is yet another example of the valuable information available at WP Beginner.  Thanks guys.</description>
		<content:encoded><![CDATA[<p>This is yet another example of the valuable information available at WP Beginner.  Thanks guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-remove-default-author-profile-fields-in-wordpress/comment-page-1/#comment-13310</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 15 Apr 2010 16:27:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1562#comment-13310</guid>
		<description>This is great. I&#039;ve already implemented it on two sites. Thanks so much!</description>
		<content:encoded><![CDATA[<p>This is great. I&#8217;ve already implemented it on two sites. Thanks so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gifer</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-remove-default-author-profile-fields-in-wordpress/comment-page-1/#comment-13294</link>
		<dc:creator>gifer</dc:creator>
		<pubDate>Thu, 15 Apr 2010 14:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1562#comment-13294</guid>
		<description>aah excellent post, thanks a lot :)

I think wp should remove these by themself, 
why aim,jabber lol they should add facebook and twitter :P</description>
		<content:encoded><![CDATA[<p>aah excellent post, thanks a lot <img src='http://cdn.wpbeginner.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I think wp should remove these by themself,<br />
why aim,jabber lol they should add facebook and twitter <img src='http://cdn.wpbeginner.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Dunsworth</title>
		<link>http://www.wpbeginner.com/wp-tutorials/how-to-remove-default-author-profile-fields-in-wordpress/comment-page-1/#comment-13285</link>
		<dc:creator>Tony Dunsworth</dc:creator>
		<pubDate>Thu, 15 Apr 2010 13:23:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.wpbeginner.com/?p=1562#comment-13285</guid>
		<description>Thanks for this one guys. We restrict all of this so this is a perfect tool to ensure we don&#039;t have to see it either.</description>
		<content:encoded><![CDATA[<p>Thanks for this one guys. We restrict all of this so this is a perfect tool to ensure we don&#8217;t have to see it either.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Content Delivery Network via cdn.wpbeginner.com

Served from: www.wpbeginner.com @ 2012-02-10 00:44:14 -->
