• Hi
    I have searched for days to this solution and I am reaching out to you fine folks!!

    I am trying to create download links within the users profile so that the user can download their files [in this case a zipped file]. I created a multi lined text field within the extended profile part of the users profile [backend] I then tried to add href tags to the field.. It kind of works but href tags won’t work so I just put the path to the file instead.. This looks ugly and Href tags would be a better looking solution..

    So my main question: Is there a better way to do this?
    It must be known that all users must only be able to see their own files within their profiles.
    I appreciate all your help!!

Viewing 1 replies (of 1 total)
  • Put this code in your functions.php. You might need to go some modification depending on your requirement.

    add_action( 'show_user_profile', 'add_extra_download_field' );
    add_action( 'edit_user_profile', 'add_extra_download_field' );
    function add_extra_download_field( $user ){
    ?>
    <a href="<YOUR FILE LINK WILL GO HERE>">Download Your Profile Information</a>
    <?php
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Href Tags in Extended Profile’ is closed to new replies.