Resource Type: name); ?>
++ Resource Subject(s): + name); + } else { + echo esc_html($subject->name) . ', '; + } + + $i++; + } + ?> +
+No resources found.
+ diff --git a/templates/resource-results.php b/templates/resource-results.php index 1915e25..df7bb96 100644 --- a/templates/resource-results.php +++ b/templates/resource-results.php @@ -6,30 +6,32 @@ if (!empty($resources)) : $postID = $resource->ID; $postTitle = get_the_title($postID); $postLink = get_permalink($postID); + $terms = get_the_terms($postID, 'resource_type'); ?> -