Can is_user_logged_in be combined with jquery somehow to add/remove fields wrapped in a certain class?
More specifically:
- I want to wrap the users' phone and email in class "private".
- Then if the user viewing the page is logged in, they can see those two fields in the User Directory and on the User page.
I don't want to just hide these fields via 'display: none;' (since they'd still be in the source).