Commit 7b5ef261 authored by Stefan.Bruckner's avatar Stefan.Bruckner
Browse files

more info added

parent 6dc1eaf1
......@@ -107,12 +107,22 @@ function present_post($post, $skipongoing)
</div>
<div class="team-info">
<h3><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
<h3><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>'
<h4><?php the_field('group_topics'); ?></h4>
<div class="team-details">
<ul class="fa-ul">
<?php if ($head): ?>
<li><i class="fa fa-user fa-li"></i><a href="<?php echo get_permalink($head->ID); ?>" title="<?php echo get_the_title($head->ID); ?>"><?php echo get_field("team_position",$head->ID) . " " . get_the_title($head->ID); ?></a></li>
<?php if ($email = get_field('team_email',$head->ID)): ?>
<li><i class="fa fa-envelope fa-li"></i><a href="mailto:<?php echo antispambot($email); ?>"><?php echo antispambot($email); ?></a></li>
<?php endif; ?>
<?php if ($phone = get_field('team_phone',$head->ID)): ?>
<li><i class="fa fa-phone fa-li"></i><a href="tel:+47 555 84 <?php echo $phone; ?>">+47 555 84 <?php echo $phone; ?></a></li>
<?php endif; ?>
<?php endif; ?>
</ul>
</div>
......
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