Do you want to remove the default author profile fields in WordPress?
No matter what type of website you have, WordPress shows the same standard fields in your author profiles. By removing these default fields, you can customize your site according to your needs and make the WordPress admin panel easier.
In this article, we will show you how to remove default author profile fields in WordPress.
When Should You Remove Default Author Profile Fields?
When you create an author profile on your WordPress website, you will need to complete the same default fields. These fields remain exactly the same no matter whether you are creating a blog, WooCommerce store, membership site, or some other form of WordPress website.
However, sometimes you may need to remove these default fields. This allows you to create a custom author profile and makes it easier to add new authors to your WordPress website.
For example, you might hide the social media profiles that your authors don’t actually use.
That said, let’s see how you can remove the default author profile fields in WordPress.
Removing Default Author Profile Fields
To remove default author profile fields, we have created some simple code snippets that you can add to your WordPress theme files.
If you haven’t added code to WordPress before, then see our guide on how to easily add custom code snippets in WordPress.
Remove Default Social Media Fields from Author Profile
Older versions of WordPress came with AIM, Yahoo IM, and Jabber/Gtalk as the default author profile fields.
If you are using an older version of WordPress and want to remove these social media fields, then you add the following code to your functions.php file:
add_filter('user_contactmethods', function($methods) {
unset($methods['aim'], $methods['yim'], $methods['jabber']);
return $methods;
}, 999);
Remove Author Profile Fields Added by Third-Party Plugins
At times, some plugins will add additional author profile fields to your website.
To stop WordPress plugins from adding custom fields to the author profile section or remove any fields they have already added, just add the following code to your functions.php file:
add_filter('user_contactmethods', function() {
return array();
}, 999);
We hope this article helped you learn how to remove default author profile fields in WordPress. You may also want to look at our guide on how to choose the best web design software and the best drag and drop page. builder plugins.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Michelle says
This is yet another example of the valuable information available at WP Beginner. Thanks guys.
Andrew says
This is great. I’ve already implemented it on two sites. Thanks so much!
gifer says
aah excellent post, thanks a lot
I think wp should remove these by themself,
why aim,jabber lol they should add facebook and twitter
Tony Dunsworth says
Thanks for this one guys. We restrict all of this so this is a perfect tool to ensure we don’t have to see it either.
Mad Mike says
This is yet another example of the valuable information available at WP Beginner. Thanks guys.