building out wp theme from patterns markup