Using grid/list view option for posts, but how to make it persist across pages?


I’m using some jquery to switch between a grid view vs a list view for my posts.

The problem I’m having is that when I select one of the views and then click to go to page 2, it doesn’t keep the view setting I previously selected.

Any way of doing that?

Thank you!