This topic has 2 replies, 2 voices, and was last updated 9 years by Nicole.

  • Author
  • #24717
     Nicole
    Participant

    Hello! I guess more people notice this issue. When people add a text in a description field (i’m talking about the profile part) if that text contains commas, that text get “hyperlinked”. There is anyway to erase this function?

    For example, I’ve add a field called “About me” and If i put a text like: “I’m an italian girl, i’m 26, cat lover, bla bla.” All that text between the , (commas) get hyperlinked.

    Thanks in advance

    #24891
     Catalin
    Moderator

    Hello,

    This standard BuddyPress functionality. take a look at this link:

    http://buddypress.org/support/topic/remove-profile-links-2/

    To remove this, add in your functions.php file from your child theme this code:

    COPY CODE
    
    
    remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 2 );
    
    

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #24957
     Nicole
    Participant

    Thank YOU Catalin!! <3

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Commas in text fields generate links’ is closed to new replies.

Log in with your credentials

Forgot your details?