Teachers may not tell students to go out and shoot the president. "Hate speech" is also prohibited: a teacher does not have the right to spout racial slurs.
This is a great example of why general statements are not always true since teachers do have the right to express themselves in a classroom it does not mean they have the right to be telling students "hate speech".