• Sorry if my English is off because im not a native English speaker.

    I have added custom field in WP user data to put different text and image for different users using Pods. And now im trying to show these specific text and images to their profile page using shortcodes.

    It works for the text field, but when i put the shortcode for the image field, it only shows random number like “1674” instead of displaying the image.

    I used [um_user meta_key=”jumlah_saham”] and it works great to show text field.

    I hope anyone can help me with this.

    • This topic was modified 2 years, 6 months ago by hijazi95.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter hijazi95

    (@hijazi95)

    Edit : I did it. I only need to add a custom snippet for the shortcode to work.
    Sorry but i have another question.

    I did it with snippet code for text and image that i googled. But how do i do it with PDF files? I need to show logged-in user respective PDF files that they can download and keep.

    Thank you very much.

    @hijazi95

    Where do you have the PDF files stored?

    Thread Starter hijazi95

    (@hijazi95)

    @missveronicatv

    Hi!
    Thank you for your response.

    They are currently uploaded to my wordpress media library.

    I used PODS to create a new field in WP User details for me to upload different PDF for different user.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show Image From WP User Data in UM Profile Page With Shortcode’ is closed to new replies.