converted theme to wordpress layout