Remove extra fields in user profile

Posted in: Newspaper
Post count: 6

Is there a way to remove the extra fields (social links) in the user profile? I can’t seem to figure out how all the extra fields are added. I don’t need them.

Thanks!

Post count: 9544

You would need to likely setup custom functions in your functions.php file – this has nothing to do with the theme. The user fields are built in to WordPress — so, you probably want to research this on the WordPress.org “codex” (documentation). Or simply Google “how to remove wordpress user fields…”

Post count: 6

Thanks Chris. I have about 30 WP installs and the only 2 themes with the extra fields are Newspaper (addthis, behance, etc.). When I switch themes, the fields are gone. I’ll keep poking around when I have time.

Post count: 9544

Ah. You are correct … there *are* a lot of user fields there (!). I have a hunch you can likely remove those from the functions.php file, but perhaps Marius or Lucian will have the de-facto answer on that.

Post count: 388

They are indeed Newspaper-specific. Somewhere or other td support gave this solution to add to your functions.php file; I’m now using it successfully:

remove_filter('user_contactmethods', 'extra_contact_info');

Post count: 6

Mike… thanks for confirming. I tried one method of removal via functions.php before posting this but it didn’t work. Would be nice to add documentation about this and possibly backend supported to turn it off or on.

Post count: 6

Thanks, medium. Worked like a champ!

Post count: 55

Hi.

The

remove_filter(‘user_contactmethods’, ‘extra_contact_info’);

is not working anymore with Newspaper 6.

Any idea about how to remove the extra contact info added by the theme?

Thank you,

Post count: 7909

Hi,

You can find the filter in theme functions for version 6 of the theme – http://screencast.com/t/rWAjX7B1k

Thanks!

Post count: 64

Hi,

Ive tried to put this code in functions.php and also in wp-booester, but doesnt change anything, how can I remove those fields? I cant seem to find any working code in the web also!

Post count: 22421

Hi,
You can remove the social fields by commenting out or removing this code:
http://screencast.com/t/PFQGVEIxxF
Thank you!

Post count: 64

Hi,

With commenting out in child theme, nothing happened. It works when I comment out the file in the Theme Folder, but thats not so accurate because it might get overwritten after update! Any other chance? Thanks.

Post count: 22421

Unfortunately that particular file will not work from the child theme. All of the wp-booster folder does not work from the child theme. There is no alternative. If there were, there would have been a setting in the theme panel for it, but this is not the case so there are no alternatives. The code must be modified to get the results you want.
Thank you!

Post count: 20

Hi

i commented the code specify in http://screencast.com/t/rWAjX7B1k but it didnt worked.. and giving error.. i have replaced the unedited file even though error is not going

Below is the error i am getting

Warning: require_once(td_global.php): failed to open stream: No such file or directory in /home/exploreheritage/public_html/wp-content/themes/exploreheritage/includes/wp_booster/td_wp_booster_functions.php on line 14

Fatal error: require_once(): Failed opening required ‘td_global.php’ (include_path=’.:/usr/local/php56/pear’) in /home/exploreheritage/public_html/wp-content/themes/exploreheritage/includes/wp_booster/td_wp_booster_functions.php on line 14

Post count: 22421

Hi,
Are you sure you modified the correct file. Please check this screenshot and only remove the part highlighted:
http://screencast.com/t/PFQGVEIxxF I tested it again and it returns no errors.
Thank you!

Viewing 15 posts - 1 through 15 (of 15 total)
You must be logged in to reply to this topic.