conversion to wp template