picture in Profil Page

This topic contains 2 reply and 2 voices, and was last updated by strangerrj 11 years, 1 month ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
October 7, 2013 at 10:25 pm 8796
strangerrj 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.
October 7, 2013 at 10:30 pm 8797
Tareq Hasan Tareq Hasan

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

October 7, 2013 at 10:33 pm 8798
strangerrj strangerrj

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

Viewing 2 Posts - 1 through 2 (of 2 total)