it's impossible for your iphone to get TXT messages on wifi since SMS functions on a carrier level/network.
What is happening is this. People are sending you iMessages... regardless if they turned it off they must still be able to get through.
Tell the people on the other end using their eyephones to send you TXT messages to your cell phone number. It's not your fault or AT&T's fault that this is happening.