From ce11899ecd9bb213b2923aad69b302472bd1dc77 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Fri, 27 Jan 2023 20:20:22 -0500 Subject: [PATCH] Limit Initials to only 2 characters so it doesnt cause Graphic distorions when displaying in a circle --- functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions.php b/functions.php index c570dcc8..55506058 100644 --- a/functions.php +++ b/functions.php @@ -50,6 +50,7 @@ function initials($str) { $ret = ''; foreach (explode(' ', $str) as $word) $ret .= strtoupper($word[0]); + $ret = substr($ret,0, 2); return $ret; } }