Home Forums Plugin Support WP User Frontend (Free Version) picture in Profil Page

This topic is: resolved

Tagged: , , ,

This topic contains 2 replies, has 2 voices, and was last updated by  strangerrj 5 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8796

    strangerrj
    Participant
    Post count: 82

    Hi, I have an extra field to the profile page for photos. I want this to display in the frontend. In the backend, you see these photos.

    I do not mean the avatar.

    With this command: <php the_author_meta ('user_photo');?>

    I see only a number, but no photo. What can you tuen? Thank you.

    #8797

    Tareq Hasan
    Keymaster
    Post count: 2831

    You can use this:
    [php]echo wp_get_attachment_image( get_the_author_meta( ‘user_photo' ), ‘thumbnail' );[/php]

    #8798

    strangerrj
    Participant
    Post count: 82

    Hi Tarek, heah it works. Thank you very much. regards Rick

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘picture in Profil Page’ is closed to new replies.