Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello iamjoshing,
    This should be working without the user posting on your blog. The function is built to retrieve the photo based on a user ID. If you need a specific user’s photo, you can pass their ID number into the get_cupp_meta() function inside or outside the loop.

    and example would be:
    $user_id_without_posts = 14;
    $image_url = get_cupp_meta($user_id_without_posts, ‘thumbnail’);

    I hope this helps.

    Hi, I have the same problem. I have 10 user registered and they never will post a blog post. When they try to log in on the website front end, it always show the user image profile of the only user that can post a blog post. How can I resolve the problem?

    Thank you

    Hello psicozucca,
    Can you tell me where exactly the image is showing up for you and the other users? Is it on a post? In the WP Admin toolbar (top right of the screen)?

    Also, in your code, how are you retrieving the user id on your site? Dynamically with current_user or something static?

    Regards,
    3five

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Showing User Image On Author Page and Custom Posts Types’ is closed to new replies.