readded code to designate page as a wordpress template