I am loading a user via user_load_by_name() in my themename.theme. Now I would like to view some of the fields in my template. But how to get/render the fields?
I can use user_view() to render the whole user. But I would like to access only some fields and make them available in the template.