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
bc977a84
Commit
bc977a84
authored
Aug 16, 2019
by
Stefan.Bruckner
Browse files
fixing ...
parent
44e7b353
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/visgroup/groups.php
View file @
bc977a84
...
...
@@ -96,11 +96,11 @@ function present_post($post, $skipongoing)
<?php
if
(
has_post_thumbnail
())
:
echo
get_the_post_thumbnail
(
$post
->
ID
,
'thumbnail'
);
elseif
(
$head
and
has_post_thumbnail
(
$head
->
ID
))
:
$src
=
wp_get_attachment_image_src
(
get_post_thumbnail_id
(
$
post
->
ID
),
'team-thumb'
);
$src
=
wp_get_attachment_image_src
(
get_post_thumbnail_id
(
$
head
->
ID
),
'team-thumb'
);
$thumb_src
=
$src
[
0
];
?>
<img
src=
"
<?php
echo
$thumb_src
?>
"
alt=
"IMG"
/>
<?php
echo
get_the_post_thumbnail
(
$head
->
ID
,
'thumbnail'
);
//
echo get_the_post_thumbnail($head->ID,'thumbnail');
else
:
?>
<img
src=
"
<?php
bloginfo
(
'template_directory'
);
?>
/images/noimage.png"
/>
<?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