an on off switch created for wordpress