convert static pages to wp-theme pages