Additional fixes; Do all AJAX requests for views on front using the same URL but utilizing a post request that template_redirect action will bail on the page and output just the view instead, so you still have access to WP_Query and queried objects