Connecting to LinkedIn...

A Consultant record contains the following parameters:

consultant.name

{{ consultant.name }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.email_address

{{ consultant.email_address }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.position

{{ consultant.position }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.url

{{ consultant | consultant_url }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.twitter_username

{{ consultant.twitter_username }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.skype_name

{{ consultant.skype_name }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.facebook_url

{{ consultant.facebook_url }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.google_plus_url

{{ consultant.google_plus_url }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.public_email_address

{{ consultant.public_email_address }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.avatar

{{ consultant.avatar }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.avatar_name

{{ consultant.avatar_name }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.linkedin_profile_url

{{ consultant.linkedin_profile_url }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.cached_slug

{{ consultant.cached_slug }}Copy to clipboardCopy to clipboardCopy to clipboard

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>Copy to clipboardCopy to clipboardCopy to clipboard

consultant.secondary_avatar

{% if consultant.secondary_avatar_name != blank %}
	{{ consultant | secondary_consultant_image: '200x200#' }}
{% endif %}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.disciplines

{{ consultant.disciplines }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.salaries

{{ consultant.salaries }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.user

{{ consultant.user }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.consultant_groups

{{ consultant.consultant_groups }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.phone_number

{{ consultant.phone_number }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.main_content

{{ consultant.main_content }}Copy to clipboardCopy to clipboardCopy to clipboard

consultant.key_locations

{{ consultant.key_locations }}Copy to clipboardCopy to clipboardCopy to clipboard

Global Consultant Variables:

{{ all_consultants }} <!-- All the Consultant records for the current Site.-->Copy to clipboardCopy to clipboardCopy to clipboard

Filter consultants by discipline:

/consultants?search[discipline]={{ discipline.id }}
Copy to clipboardCopy to clipboardCopy to clipboard



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 %}