reformating the pages to look like the wp theme