Skip to content

Snippet: Add Typography Options For Blog Content

function myprefix_wpex_typography_settings( $settings ) {
	$settings['blog_post_content'] = array(
		'label' => esc_html__( 'Blog Post Content', 'total' ),
		'target' => '.single-blog-article .entry',
		'transport' => 'refresh',
 	);
	return $settings;
}
add_filter( 'wpex_typography_settings', 'myprefix_wpex_typography_settings' );
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top