Custom Blog Style in WordPress

/**
 * 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' );
See also  Material Style Responsive Dropdown Navigation with Pure CSS

Leave a Reply

Your email address will not be published. Required fields are marked *