Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add links to specific profile fields


  • jeroenvip
    Participant

    @hieronymusdesign

    Hi all,

    First of all thank you for reading this. I know that buddypress add search links to specific words in profile fields. We don’t want that and used

    <?php
    /* remove all profile links */
    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' );
    
    ?>

    Iinks removed
    This works perfectly. All links are gone. However we want two fields to have an Email link and Website link. In the image you see email and website. How can we make it so that it gets a <a href></a>

    We already tried Buddypress Xprofile Custom Fields Type but for some odd reason are the all added fields hidden and not visible.

    Thank you very much for your time

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Add links to specific profile fields’ is closed to new replies.
Skip to toolbar