Updated templates file to WordPress standard
Updated version