SHARE
TWEET

Untitled

a guest Jul 18th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <section class="section people">
  2.            <div class="row row-17-column">
  3.                <h1 id="team" class="header-large center">Our Team</h1>
  4.                <div class="bio-profiles">
  5.                    {% for team in team %}
  6.                        <bio-profile bio-id="'{{team.ID}}'" :bio-length="{{team.biography|length}}">
  7.                            <img slot="photo" src="{{TimberImage(team.photo).src}}" alt="{{TimberImage(team.photo).caption}}">
  8.                            <h3 slot="name" class="header-small full-width">{{team.first_name}}<br>{{team.last_name}}</h3>
  9.                            <p slot="position" class="profile-position">{{team.job_title}}<br />{{team.company}}</p>
  10.                            <div slot="related" class="related-stories hide-small"></div>
  11.                            <p slot="quote">&ldquo;{{ team.quote }}&rdquo;</p>
  12.                            <p slot="bio">{{ team.biography }}</p>
  13.                        </bio-profile>
  14.                    {% endfor %}
  15.                </div>
  16.            </div>
  17.        </section>
  18.      
  19. $team = Timber::get_posts(
  20.         array(
  21.             'post_type' => 'person',
  22.                 'meta_key' => 'last_name',
  23.                 'orderby' => 'meta_value',
  24.                 'order' => 'ASC',
  25.                 'posts_per_page' => -1,
  26.                 'meta_query' => [
  27.                     array(
  28.                         'key' => 'role',
  29.                         'value' => 'team'
  30.                     )
  31.                 ]
  32.         ));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top