Switch in single theme template whether we need WP loop functions