added more wordpress functionality and consolidated templates