Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <section class="section people">
- <div class="row row-17-column">
- <h1 id="team" class="header-large center">Our Team</h1>
- <div class="bio-profiles">
- {% for team in team %}
- <bio-profile bio-id="'{{team.ID}}'" :bio-length="{{team.biography|length}}">
- <img slot="photo" src="{{TimberImage(team.photo).src}}" alt="{{TimberImage(team.photo).caption}}">
- <h3 slot="name" class="header-small full-width">{{team.first_name}}<br>{{team.last_name}}</h3>
- <p slot="position" class="profile-position">{{team.job_title}}<br />{{team.company}}</p>
- <div slot="related" class="related-stories hide-small"></div>
- <p slot="quote">“{{ team.quote }}”</p>
- <p slot="bio">{{ team.biography }}</p>
- </bio-profile>
- {% endfor %}
- </div>
- </div>
- </section>
- $team = Timber::get_posts(
- array(
- 'post_type' => 'person',
- 'meta_key' => 'last_name',
- 'orderby' => 'meta_value',
- 'order' => 'ASC',
- 'posts_per_page' => -1,
- 'meta_query' => [
- array(
- 'key' => 'role',
- 'value' => 'team'
- )
- ]
- ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement