From 4418ac611c2356a99a5ecde5aad72f4fc79b8789 Mon Sep 17 00:00:00 2001 From: Szymon Kasprzyk Date: Wed, 9 Oct 2024 08:54:44 +0200 Subject: [PATCH] adds default value to data resources block heading --- wp-content/plugins/vf-data-resources-block/template.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-content/plugins/vf-data-resources-block/template.php b/wp-content/plugins/vf-data-resources-block/template.php index 72f4d6ee8..a9425359a 100644 --- a/wp-content/plugins/vf-data-resources-block/template.php +++ b/wp-content/plugins/vf-data-resources-block/template.php @@ -40,6 +40,7 @@ } if ($defaults == true) { + $heading = 'Data resources'; if (function_exists('embl_taxonomy_get_term')) { $term_id = get_field('embl_taxonomy_term_what', 'option'); $term = embl_taxonomy_get_term($term_id); @@ -92,4 +93,5 @@ class="vf-section-header__icon | vf-icon vf-icon-arrow--inline-end" width="24" h
+