part html to different level and make it ready for WP