skip to Main Content

Change Post Series Archive Entry Style

/**
 * Change Post Series Archive Entry Style
 * Available options: large-image-entry-style, thumbnail-entry-style, grid-entry-style
 */
function my_post_series_entry_style( $style ) {
	if ( is_tax( 'post_series' ) ) return 'grid-entry-style';
	return $style;
}
add_filter( 'wpex_blog_style', 'my_post_series_entry_style' );
add_filter( 'wpex_blog_entry_style', 'my_post_series_entry_style' );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top