View Categories

How to set default view mode to grid view in Tripzzy archive page

< 1 min read

Tripzzy configures the default view mode to list view. To display the default view mode to grid view in the Tripzzy archive page. Please add the following code below to display the default view mode as grid view:

add_filter( 'tripzzy_filter_default_view_mode', function( $view_mode ) {
	return 'grid';
} );
Scroll to Top