Snippets: Custom Blog Style

 * Alter blog style
 * You can return any of the following strings "large-image-entry-style", "thumbnail-entry-style", "grid-entry-style"
function my_blog_style( $style ) {

	// Change style for all tags
	if ( is_tag() ) {
		$style = 'thumbnail-entry-style';

	// Return style
	return $style;
add_filter( 'wpex_blog_style', 'my_blog_style' );

Snippet Type: PHP

Posted Under: Blog

All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)