Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="single-event-view">
- <div class="event-details">
- <p class="event-description">{{ post.event_description }}</p>
- <div class="event-location">
- <li class="event-location-name"><a href="{{ post.event_location_url }}" title="map to {{ post.event_location_name }}">{{ post.event_location_name }}, {{ post.event_street_address }} </a></li>
- </div>
- <hr>
- {% set topic_args = { relationship: { id: 'event-to-topic', from: post.ID }, nopaging: true, post_type: 'topic', orderby: topic.topic_datetime | date( 'Y-m-d H:i' ), order: 'DESC' } %}
- {% set topics = mb.get_posts( topic_args ) %}
- {% for topic in topics %}
- <section class="speaker-topic-wrapper">
- <div class="topic-details">
- <h2 class="topic-title"><a href="{{ topic.url }}">{{ topic.topic_title }}</a></h2>
- <p class="topic-date-time">{{ topic.topic_datetime | date( 'M j, Y' ) }} at {{ topic.topic_datetime | date( 'h:i A' ) }}</p>
- <p class="topic-description">{{ topic.topic_description }}</p>
- </div>
- <div class="related-team-member">
- {% set team_args = { relationship: { id: 'topic-to-team', from: topic.ID }, nopaging: true, post_type: 'team' } %}
- {% set teams = mb.get_posts( team_args ) %}
- {% for team in teams %}
- <div class="team-member-details">
- <img class="speaker-image" src="{{ team.thumbnail.full.url }}" width="{{ team.thumbnail.full.width }}" height="{{ team.thumbnail.full.height }}" alt="{{ team.thumbnail.full.alt }}">
- <p class="team-member-name"><a href="{{ team.url }}">{{ team.team_member_name }}</a></p>
- </div>
- {% endfor %}
- </section>
- <hr>
- {% endfor %}
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement