Skip to:
Content
Pages
Categories
Search
Top
Bottom

Customize text for a link in a profile field


  • lbnn
    Participant

    @lbnn

    Hello,

    I added a URL type field in the member profile, but I can’t manage to customize the text for the link and hide the full URL…

    I tried something like : <a href="https://mywebsite.com/test_customized_link/">URL is now hidden</a>

    But it doesn’t work, it shows all the text not the link customized.

    Is there is a way to customize it please, it’s not really nice to show a full URL like that in a profile field.

    I want this result : URL is now hidden

    Thank you for your help

    Wordpress version : 6.0.1
    BuddyPress version : 10.3.0
    Website URL : Private website closed for public people

Viewing 5 replies - 1 through 5 (of 5 total)

  • lbnn
    Participant

    @lbnn

    In fact it’s when I’m choosing text field that <a href="https://mywebsite.com/test_customized_link/">URL is now hidden</a> appears.

    If I choose URL, it just give an error and doesn’t save the value.

    So if someone has a solution to that please ?

    Thank you


    KaineLabs Team
    Participant

    @kainelabsteam

    Hi @lbnn

    I think this plugin would help

    BuddyPress Xprofile Custom Field Types


    lbnn
    Participant

    @lbnn

    Hello @kainelabsteam,

    Thank you for your suggestion, I already tried this plugin, but I have the same error when I put some HTML code in the field.

    Thanks


    KaineLabs Team
    Participant

    @kainelabsteam

    Hi @lbnn

    Have you tried the “Multi-line text area” profile type?


    lbnn
    Participant

    @lbnn

    @kainelabsteam

    Thanks a lot, I didn’t tried this one and it’s the good one, it works perfectly 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar