Commit e94c80c0 authored by Stefan.Bruckner's avatar Stefan.Bruckner
Browse files

another try

parent c88dee0b
......@@ -33,9 +33,6 @@ the_post();
<?php } ?>
<div class="team-info col-md-8">
<h2><?php the_field('team_position'); ?></h2>
<p><?php the_field('team_topics'); ?></p>
<?php
$head_args = array(
......@@ -76,15 +73,17 @@ the_post();
while( $group_query->have_posts() )
{
$group_query->the_post();
echo "<i class='fa fa-users'></i>&nbsp;<a href=". get_permalink($group_query->ID) . ">" . get_the_title($group_query->ID) . "</a></li>";
echo "<i class='fa fa-users'></i&nbsp;<a href=". get_permalink($group_query->ID) . ">" . get_the_title($group_query->ID) . "</a></li>";
}
}
wp_reset_postdata();
?>
<h2><?php the_field('team_position'); ?></h2>
<p><?php the_field('team_topics'); ?></p>
<div class="team-details">
<ul class="fa-ul">
<ul class="fa-ul">
<?php if ($email = get_field('team_email')): ?>
<li><i class="fa fa-envelope fa-li"></i><a href="mailto:<?php echo antispambot($email); ?>"><?php echo antispambot($email); ?></a></li>
<?php endif; ?>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment