Discussion

 


Avatar in sidebar (2 replies and 2 comments)

Thomas Froehlich
1 year ago
Thomas Froehlich 1 year ago

The Profile Template as outlined in the Codex has no user avatar in the sidebar. Yet the profile page on this site does - which is nice. On my profile page here, my avatar shows in the sidebar. I know how to code for that with the shortcode [wps-avatar] in my sites.

But then, when I go to a friend's profile page in my sites, the friend's avatar shows in the sidebar.

However, when I go to a friend's profile page on this site, it is not the friends avatar that shows in the profile's sidebar, but mine.

How is that coded for in the profile page?

Robert Dempsey
1 year ago
Robert Dempsey 1 year ago

LOL.

You need to look at the short code in question first for what you want and it will be there.

Look in the Shortcode for them on and you will see that it does one of 2 things. iy follows logged in user for the page.  this one

user_id=""

  following the page this one

user_id="user"

the iser of the current user these paramaters go in the avatar short code only.

Office hours: 10 AM - 3 PM Monday to Friday, (USA eastern time zone).

Thomas Froehlich
1 year ago

Thanks, your response really helped out. I got it to work.

Robert Dempsey
1 year ago

Glad you figured it out Thomas ;)

1 year ago
Robert Dempsey 1 year ago

Closed due to inactivity.

Please login to leave a comment.