Snippets: Custom Homepage Entry Style

By default the entry style setting in the Customizer will affect all archives, categories, tags, search results...etc. However, the theme has a built-in filter to conditionally alter the style of your entries. See the snippet below to setup a custom style for the homepage.

add_filter( 'wpex_get_entry_style', function( $style ) {
	if ( is_front_page() ) {
		return 'full'; // Options: full, left_right, grid
	return $style;
} );