• Resolved jonoman1

    (@jonoman1)


    I have a field in a user’s profile section that allows them to upload documents (PDF, DOC, DOCX). The problem is I don’t want the large PDF icon when someone is viewing their profile. I’d like to have just the PDF or DOC link without the icon so it doesn’t take up so much space. Even a much smaller icon would be better. Ideally I would have liked a user to be able to upload multiple documents but I will wait for a UM update for that.
    I tried using shortcode to pull the file upload field data with the metakey but it just pulls in a pdf text that is not clickable. Any help is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Aswin Giri

    (@aswingiri)

    Hello @jonoman1

    Please try adding following CSS to wp-admin > appearance > customize> Additional CSS:

    .um-profile-body .um-field.um-field-file span.icon {
    		display:none !important;
    	}

    Regards,

    Thread Starter jonoman1

    (@jonoman1)

    That code worked perfectly, thanks! I’m trying to put the uploads into one heading on the profile page using shortcode though. I used the shortcode for grabbing the metakey of the file upload but it just grabs the text (not clickable). Is there anyway for the proper shortcode to grab the PDF link and filename? I have 3 different file upload fields and I want to use shortcode to put all of them under one field label on the profile pages.

    Plugin Support Aswin Giri

    (@aswingiri)

    Hello @jonoman1

    The database only saves file name, you will have to link it to the file uploaded at wp-content/uploads/ultimatemember/{user_id}/filename.extension

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove PDF icon and have onlly the download link’ is closed to new replies.