Snippets: Add New Blog Entry/Post Meta Item

function myprefix_entry_single_meta_sections( $sections ) {
	$sections['new_section'] = function() {
		$icon = '<span class="fa fa-leaf"></span>';
		echo  $icon .'Your stuff here';
	};
	return $sections;
}
add_filter( 'wpex_blog_entry_meta_sections', 'myprefix_entry_single_meta_sections' );
add_filter( 'wpex_blog_single_meta_sections', 'myprefix_entry_single_meta_sections' );

Snippet Type: PHP

Posted Under: Blog

All PHP snippets should be added via a child theme's functions.php file.