How to customize User Listing templates
-
I am attempting to customizing our User Listing templates for both the single and all user listings on the front end.
1) We have an upload field for the user to upload a portrait for their member listing. How can we make the image size consistent across all users? Note that the two sample ones are two sizes. Sample directory
2) We have custom fields but the content display includes <p> tags. How do I remove those? Why are those displaying?
{{{extra_go_back_link}}} <div class="wppb-profile"> <p> <img src="{{meta_custom_field_6}}"> </p> <label>Name:</label> <span>{{meta_first_name}} {{meta_last_name}}, {{meta_custom_field_2}}</span> <ul> <li> <label>Email:</label> <span><a href="mailto:{{meta_email}}">{{meta_email}}</a></span> </li> <li> <label>Phone:</label> <span>{{meta_custom_field_1}}</span> </li> <li> <label>Website:</label> <span><a href="{{meta_website}}" target="_blank">{{meta_website}}</a></span> </li> <li> <label>Biographical Info:</label> <span>{{meta_biographical_info}}</span> </li> <li> <label>Professional affiliations: </label> <span>{{meta_custom_field_3}}</span> </li> <li> <label>Fields of expertise:</label> <span>{{meta_custom_field_4}}</span> </li> <li> <label>Other professional activities:</label> <span>{{meta_custom_field_5}}</span> </li> </ul> </div> {{{extra_go_back_link}}}3) We have a “credentials” field for info like PhD, MA and other academic credentials. We are trying to display the right after the Name. How can we accomplish this?
Thank you.
The topic ‘How to customize User Listing templates’ is closed to new replies.