• Resolved drgozen

    (@drgozen)


    Hello Ultimate Member Support
    I want to display the users’ website URL in the profile header with social links.
    I checked the settings menu and appearance tab, but there’s no such setting.
    Is there a way to show users’ website URL with social links in profile header?

    Thank you for your support.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @drgozen

    This requires customization. Please try adding this code snippet to your theme/child-theme’s functions file or use the Code Snippet plugin to run the code:

    add_filter("um_builtin_all_user_fields","um_092221_website_url_social");
    function um_092221_website_url_social( $fields ){
    
        foreach ( $fields as $field => $args ) {
            if ( isset( $field ) && $field == 'user_url' ) {
                $fields[ $field ]['advanced'] = 'social';
                $fields[ $field ]['icon'] = 'um-faicon-globe';
                $fields[ $field ]['match'] = 'https://';
                $fields[ $field ]['color'] = '#96979a';
                
            }
        }
    
        return $fields;
    }

    Regards,

    Thread Starter drgozen

    (@drgozen)

    Thank you so much. It works!

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Thanks for letting us know.

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Profile page Website URL logo with social links in the header’ is closed to new replies.