Refactor as Wordpress project