How far does the employer's reach extend for discipline?

Question: If an employee posts offensive material on his own social media feeds that affects his interaction with others in the workplace, can the employer order the employee to stop such behaviour or face disciplinary action?