Support » Theme: Go » Displaying a Profile Photo on a page.

  • I would like to display a users profile photo on the home page. I have a large image of one of our horse trails on the home page, and would like to display a profile picture of the current user over the top of the trail image. I would probably have to change the image to a background image, which is no problem. I just figure out how to call up the current users profile photo.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @jeffg2323,

    I’m guessing that you plan to add current using PHP image using PHP code, correct?

    Something like this for the reference:

    https://wordpress.stackexchange.com/questions/173626/display-avatar-of-user-profile-when-logged-in

    In that case, you would need to create a child theme for your Go theme and add the code header.php or page.php depending on preference and needs.

    Obviously, once you do, you will need to apply styles to it so it could be positioned as you wish. I suggest creating a backup anyways to be safe.

    If you need help with styling once the code is added, let us know so we could help you out.

    Have a nice day,
    Andrija

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.