updated wp page template sections and loops to be dynamic