I modified the code given here with the new 2025 social networks, but the Social Networks label still appeared on the profile page.
The modified code = Paste at the end of the functions.php file in the wordpress wp-includes folder
/** faire disparaitre le panneau sociaux des profils utilisateurs **/ function my_custom_account_fields( $fields ){ $remove_fields = array('facebook', 'linkedin', 'instagram', 'vkontakte', 'twitter', 'youtube', 'telegram', 'skype'); if( !empty($fields) ){ foreach( $fields as $r => $rows ){ foreach( $rows as $c => $cols ){ foreach( $cols as $f => $field ){ if( $field && in_array($field, $remove_fields) ){ unset($fields[$r][$c][$f]); } } } } } return $fields; } add_filter( 'wpforo_get_account_fields', 'my_custom_account_fields');
To make the Social Networks mention disappear, here is the code to place in
forum settings/colors and styles
in the section: Custom CSS code
.wpf-field > div.wpf-label {display:none;}
I'm sharing in a friendly way to refresh the information and keep the method up to date, because @Robert method works when adapted.
Pierre
Hi,
Alternative solution.
You can use the "wpForo – User Custom Fields" addon. The wpForo User Custom Fields addon has all the necessary functions and features for creating a powerful online community and membership site. You can create custom Registration form with custom fields, add custom fields in User Profile system and in Members Search form
For more information, please visit: https://gvectors.com/product/wpforo-user-custom-fields/