Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to display user avatar horizontally? [code included]

@hnla

Participant

Just use a conditional check to see if displayed user == to logged in user, you can see those sorts of conditions at work if you look through profile pages for views that only show for the actual profile user or items that only show if you are logged in, then simply compare the two to see if they match ‘==’ you can then wrap the sidebar call in that conditional check to only show it if that condition is not met ‘!==’

Skip to toolbar