Connecting to LinkedIn...

A Consultant record contains the following parameters:

consultant.name

{{ consultant.name }}

consultant.email_address

{{ consultant.email_address }}

consultant.position

{{ consultant.position }}

consultant.url

{{ consultant.url }}

consultant.twitter_username

{{ consultant.twitter_username }}

consultant.skype_name

{{ consultant.skype_name }}

consultant.facebook_url

{{ consultant.facebook_url }}

consultant.google_plus_url

{{ consultant.google_plus_url }}

consultant.public_email_address

{{ consultant.public_email_address }}

consultant.avatar

{{ consultant.avatar }}

consultant.avatar_name

{{ consultant.avatar_name }}

consultant.linkedin_profile_url

{{ consultant.linkedin_profile_url }}

consultant.cached_slug

{{ consultant.cached_slug }}

consultant.disciplines_sentence

{{ consultant.disciplines_sentence }}

consultant.image

<figure class="consultant_image">
    {% if consultant.avatar_name != blank %} 
        {{ consultant | consultant_image: '512x512#' }} 
    {% elsif consultant.user.image_src != blank %} 
        {{ consultant.user.image_src | img_tag_with_size: '512x512#' }} 
    {% else %} 
        {{ "images/user-profile-default.png" | asset_url | img_tag }} 
    {% endif %}
</figure>

consultant.disciplines

{{ consultant.disciplines }}

consultant.salaries

{{ consultant.salaries }}

consultant.user

{{ consultant.user }}

consultant.consultant_groups

{{ consultant.consultant_groups }}

consultant.phone_number

{{ consultant.phone_number }}

consultant.main_content

{{ consultant.main_content }}

consultant.key_locations

{{ consultant.key_locations }}

Global Consultant Variables:

{{ all_consultants }} <!-- All the Consultant records for the current Site.-->






SAMPLE SNIPPET​

{% for consultant in consultants %}
    <!-- you can user all_consultants in none-consultant pages -->
    <div class="consultant-item">
        <a href="{{ consultant | consultant_url }}">
            {% if consultant.avatar_name != blank %} 
                {{ consultant | consultant_image: '512x512#' }} 
            {% elsif consultant.user.image_src != blank %} 
                {{ consultant.user.image_src | img_tag_with_size: '512x512#' }} 
            {% else %} 
                {{ "images/user-profile-default.png" | asset_url | img_tag }} 
            {% endif %}
        </a>
        <article>
            <h1> {{ consultant.name }}</h1>
            <h2> 
                {% if consultant.position %}
                    {{ consultant.position }}
                {% endif %}
            </h2>
           {% if consultant.phone_number != blank %}
                <div class="phone_number">
                    <a href="tel:{{ consultant.phone_number }}" target="_blank">
                        <i class="fa fa-mobile" aria-hidden="true"></i> 
                        <span>{{ consultant.phone_number }}</span>
                    </a>
                </div>
            {%  endif %}
            {% if consultant.twitter_username != blank %}
                <div class="twitter_profile">
                    <a href="https://twitter.com/{{ consultant.twitter_username }}" target="_blank">
                        <i class="fa fa-twitter" aria-hidden="true"></i> 
                        <span>@{{ consultant.twitter_username }}</span>
                    </a>
                </div>
            {% endif %}
            {% if consultant.email_address != blank %}
                <div class="email_address">
                    <a href="mailto:{{ consultant.email_address }}" target="_blank">
                        <i class="fa fa-envelope-o" aria-hidden="true"></i> 
                            <span>{{ consultant.email_address }}</span>
                    </a>
                </div>
            {% endif %}
            {% if consultant.linkedin_profile_url != blank %}
                <div class="linked_in_profile">
                    <a href="https://{{ consultant.linkedin_profile_url }}" target="_blank">
                        <i class="fa fa-linkedin" aria-hidden="true"></i> 
                            <span>{{ consultant.linkedin_profile_url }}</span>
                    </a>
                </div>
            {% endif %}
        </article>
    </div>
{% endfor %}