From 299538b3932c02e5a02b5f066d2ba98a8a5a05f1 Mon Sep 17 00:00:00 2001 From: Paul Kevan <2290623+pkevan@users.noreply.github.com> Date: Wed, 12 Jun 2024 11:51:55 +0100 Subject: [PATCH] Add badge functionality Add sustainability badge, needs some nicer CSS, but will do temporarily. Fixes #246. --- themes/wporg-5ftf/functions.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/themes/wporg-5ftf/functions.php b/themes/wporg-5ftf/functions.php index b04c9fe..abbb3e6 100644 --- a/themes/wporg-5ftf/functions.php +++ b/themes/wporg-5ftf/functions.php @@ -296,7 +296,11 @@ function get_badge_classes( $team ) { case 'support team': $classes = array( 'badge-support', 'dashicons-format-chat' ); break; - + + case 'sustainability team': + $classes = array( 'badge-meta', 'dashicons-admin-site-alt3' ); + break; + case 'test team': $classes = array( 'badge-test-team', 'dashicons-desktop' ); break;