Nevermind. I resolved it by changing what I had already done with Javascript.
Kind of…However I’m looking for a way to manually do the PHP loop, so that I can add classes to certain elements in the list.
An update…
I don’t think its my hosting. Because contact forms still send emails. So how do I get wordpress to send emails?