Show the word “By” before Author name

To show the word “By” before Author name, please add this code to file functions.php of your active theme:

// Content Views Pro - Show the word "By" before Author name
add_filter( 'pt_cv_field_meta_prefix_text', 'cvp_theme_field_meta_prefix_author', 100, 2 );
function cvp_theme_field_meta_prefix_author( $args, $meta_field ) {
	if ( $meta_field === 'author' ) {
		$args = 'By ' . $args;
	}

	return $args;
}

Best regards,