mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 19:13:44 +03:00
Add badge functionality (#257)
* Add badge functionality Add sustainability badge, needs some nicer CSS, but will do temporarily. Fixes #246. * Update functions.php remove whitespace
This commit is contained in:
parent
6b57bb1e7e
commit
176cea1a3d
|
@ -297,6 +297,10 @@ function get_badge_classes( $team ) {
|
||||||
$classes = array( 'badge-support', 'dashicons-format-chat' );
|
$classes = array( 'badge-support', 'dashicons-format-chat' );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'sustainability team':
|
||||||
|
$classes = array( 'badge-meta', 'dashicons-admin-site-alt3' );
|
||||||
|
break;
|
||||||
|
|
||||||
case 'test team':
|
case 'test team':
|
||||||
$classes = array( 'badge-test-team', 'dashicons-desktop' );
|
$classes = array( 'badge-test-team', 'dashicons-desktop' );
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue