Added global $wp_query to ScaleUp_Template->do_render()