I was using the code mentioned in this solution to clean up all the wrappers and extra garbage that WP-Views used to wrap around my content. making it impossible to target using jQuery for some of my applications.
Now, despite the code being in my functions.php I am still getting a very annoying wrapper around my code.
I want to do this for all views. Was working fine until a little while ago when it just stopped working. My guess is something happened with the latest toolset update.
Furthermore, it adds two closing divs after the view. So I have the following markup added around my view:
<div id="wpv-view-layout-94893-TCPID97492" class="js-wpv-view-layout js-wpv-layout-responsive js-wpv-view-layout-94893-TCPID97492" data-viewnumber="94893-TCPID97492" data-pagination="{"id":"94893","base_permalink":"/drybulk-test/?wpv_aux_current_post_id=97492&wpv_view_count=94893-TCPID97492&wpv_paged=WPV_PAGE_NUM","query":"normal","type":"disabled","effect":"fade","duration":"500","speed":5,"pause_on_hover":"disabled","stop_rollover":"false","cache_pages":"enabled","preload_images":"enabled","preload_pages":"enabled","preload_reach":"1","spinner":"builtin","spinner_image":"<em><u>hidden link</u></em>","callback_next":"","manage_history":"enabled","has_controls_in_form":"disabled","infinite_tolerance":"","max_pages":0,"page":1,"loop":{"type":"","name":"","data":[],"id":0}}" data-permalink="/drybulk-test/?wpv_aux_current_post_id=97492&wpv_view_count=94893-TCPID97492">
<!-- My view output, since that one is not the issue I will skip it to save some space here -->
</div> <!-- Where the hell is this one coming from??? I did not add it to my view output code. -->
</div><!-- ok... I guess this one is for the #wpv-view-layout-94893-TCPID97492 div -->
Update2 : I am using a filtered view. For the unfiltered view the above code seems to work... I guess I understand the need for the insane code, since it is using ajax and it has to target it. but I am not understanding the closing div.