Read More button – add custom class

To add custom class name to the class attribute of the Read More button, please add this code to file functions.php in the directory of your active theme:

// Content Views Pro - Add custom class name to the class attribute of the Read More button
add_filter( 'pt_cv_field_content_readmore_class', 'cvp_theme_field_content_readmore_class', 100, 2 );
function cvp_theme_field_content_readmore_class( $class, $fargs ) {
	$class .= ' ' . 'YOUR_CLASS_HERE';
	return $class;
}

(replace YOUR_CLASS_HERE with your class names)

Best regards,

Scroll to Top