Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
MSF
/
msf-climate-hub
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
498955af
authored
2023-11-17 15:48:03 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
pdf
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
a53d9ab9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
wp-content/themes/msf-child/blocks/relevant-resources/relevant-resources.php
wp-content/themes/msf-child/blocks/relevant-resources/relevant-resources.php
View file @
498955a
...
...
@@ -97,7 +97,11 @@ foreach($posts as $post ) {
$term_list
=
$term
->
name
;
}
}
//
if
(
$terms
=
'PDF'
){
$image
=
""
;
}
if
(
$post_type
==
'documents'
){
$link
=
get_post_meta
(
$post
->
ID
,
'document_link'
,
true
);};
echo
'<tr><td><div class="rel"><a target="_blank" class="'
.
$term_list
.
'" href="'
.
$link
.
'">'
;
if
(
$image
)
:
...
...
Please
register
or
sign in
to post a comment