{"id":30872,"date":"2010-04-22T20:34:54","date_gmt":"2010-04-23T00:34:54","guid":{"rendered":"http:\/\/wpmu.org\/?p=30872"},"modified":"2012-10-02T23:11:03","modified_gmt":"2012-10-03T03:11:03","slug":"daily-tip-remove-extra-fields-in-the-default-wordpress-profile","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/daily-tip-remove-extra-fields-in-the-default-wordpress-profile\/","title":{"rendered":"Remove Extra Fields in the Default WordPress Profile"},"content":{"rendered":"<p>It&#8217;s easier to get your users to fill out their profile if they aren&#8217;t presented with a long-form full of fields they probably don&#8217;t need.<\/p>\n<p>Here&#8217;s an example of removing the ones that people tend not to use. However, you can alter it to suit your users&#8217; needs.<\/p>\n<p>Add this to your <i>functions.php<\/i> file:<\/p>\n<pre>add_filter('user_contactmethods','hide_profile_fields',10,1);\r\nfunction hide_profile_fields( $contactmethods ) {\r\nunset($contactmethods['aim']);\r\nunset($contactmethods['jabber']);\r\nunset($contactmethods['yim']);\r\nreturn $contactmethods;\r\n}<\/pre>\n<p>This will give you a much simpler Contact Info area in your dashboard profiles:<\/p>\n<p><a rel=\"lightbox[30872]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2010\/04\/contactinfo.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30874 aligncenter\" title=\"contactinfo\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2010\/04\/contactinfo.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"549\" height=\"254\" \/><\/a><\/p>\n<p style=\"font-size: 11px;\">Source: <a href=\"http:\/\/www.wpbeginner.com\/wp-tutorials\/how-to-remove-default-author-profile-fields-in-wordpress\/\" rel=\"noopener\" target=\"_blank\">WP Beginner<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s easier to get your users to fill out their profile if they aren&#8217;t presented with a long-form full of fields they probably don&#8217;t need. Here&#8217;s an example of removing the ones that people tend not to use. However, you can alter it to suit your users&#8217; needs. Add this to your functions.php file: add_filter(&#8216;user_contactmethods&#8217;,&#8217;hide_profile_fields&#8217;,10,1); [&hellip;]<\/p>\n","protected":false},"author":4099,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[1],"tags":[5194],"tutorials_categories":[],"class_list":["post-30872","post","type-post","status-publish","format-standard","hentry","category-news-community","tag-profiles"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/30872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/4099"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=30872"}],"version-history":[{"count":3,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/30872\/revisions"}],"predecessor-version":[{"id":181591,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/30872\/revisions\/181591"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=30872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=30872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=30872"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=30872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}