Add support for showing different footer per council

This commit is contained in:
2024-08-12 20:48:03 +10:00
parent a293178250
commit 25d0eecb3f
2 changed files with 9 additions and 2 deletions

View File

@@ -982,7 +982,8 @@
"Melba",
"Curtain",
"Hoddle"
]
],
"footer": "Your local community group in the City of Yarra is <a href=\"https://streets-alive-yarra.org/journal/election-2024/\">Streets Alive Yarra Inc.</a>"
},
{
"shortName": "Yarra Ranges",

View File

@@ -63,3 +63,9 @@ if (count($wardCandidates) == 0) continue;
</div>
<!-- /wp:group -->
<?php endforeach; ?>
<?php if (isset($config['footer'])): ?>
<!-- wp:paragraph -->
<p><?php echo $config['footer']; ?></p>
<!-- /wp:paragraph -->
<?php endif; ?>