• Resolved Chijo

    (@chijotakeda)


    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.

Viewing 1 replies (of 1 total)
  • Hello Chijo,

    Thank you for reaching out to us.

    Since you are using Profile Builder Pro that has the User Listing module, and this is the support thread for Paid Member Subscription plugin, please submit a support ticket regarding this issue because we are not allowed to offer support for paid plugins on these free forums.

    1. Are you using the Avatar Field? If so go to PB -> User Listing -> And set “Avatar Size (All-userlisting)” and “Avatar Size (Single-userlisting)” as you wish.

    2. In order to render HTML correctly you will need to use {{{ }}} – 3 curly braces for some field types.

    3. Would you like to display credentials like so: First Name Last Name PhD?

    We will continue our conversation using the support ticket.

    Best regards,

Viewing 1 replies (of 1 total)

The topic ‘How to customize User Listing templates’ is closed to new replies.