Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Asmund.Birkeland
visgroup-webpages
Commits
e94c80c0
Commit
e94c80c0
authored
Jan 31, 2020
by
Stefan.Bruckner
Browse files
another try
parent
c88dee0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/visgroup/single-team.php
View file @
e94c80c0
...
...
@@ -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
>
<a href="
.
get_permalink
(
$group_query
->
ID
)
.
">"
.
get_the_title
(
$group_query
->
ID
)
.
"</a></li>"
;
echo
"<i class='fa fa-users'></i <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
;
?>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment