Add this to your themes functions.php or bp-custom.php:
`
/*
* Remove autolinks created in buddypress profiles
*/
function remove_xprofile_links() {
remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
}
add_action( ‘bp_init’, ‘remove_xprofile_links’ );
`
WHere you been all my life LOL thanks for the prompt replay and code. child or parent?
Too good to be true, it didn’t work. I put it in my child theme function. php
@charlietech
If your using a child theme then add a functions.php to it and add the code to it between opening and closing php tags. Never edit a theme direct because you will loose all changes if you update it. Always use a child theme to preserve custom edits okay?
functions.php wont work if you didn’t add the opening and closing php tags that surrounds this code. It works for me so I am assuming your leaving out the php tags.
JFYI it also needs to be named functions.php not function.php
I made a functions.php page, thank you so much.
@charlietech
For the sake of simplicity I added this code for you:
http://pastebin.com/DWhb11MZ
In the functions.php paste that code and it will sort you out.
I got before the last reply, thanks so much!
@charlietech Glad I could assist you! 🙂