This is not something you can simply add to functions.php, nor is it usable as a WP plugin in its current form, so not too helpful to non-coders. But in case it helps someone I found this package: https://github.com/morilog/jalali
I’ve not personally used it, but it looks promising for other coders to use. Best of luck in your search for a solution that works for you.
]]>