I found the solution to the font installation problem. It was caused by the SG Security plugin that Siteground installs to protect the theme files from unauthorized changes. I just had to disable it and then I could install any font I wanted. Google or local. WP 6.2
Siteground has an amazing support team specially Dimitar P. that helped me figure this out. They are very responsive and knowledgeable. I highly recommend Siteground for anyone looking for a reliable and secure web hosting service.
This issue also occurs on my siteground site. I think it has something to do with their staging site setup. Please update the thread if you found any solution.
I can confirm that the solution is working perfectly.
you can change $date = date(‘d’); to $date = date(‘His’); if you have many many files to create more folders.