How to manually change the description of review in comparision table

You can add the following snippet to manually control the content you want to include in the description in the functions.php file of the theme or child theme. Please note that this will change the content of the review post with IDs 12 and 13. You can add similar conditions for more posts.

add_filter( 'wppr_content', 'custom_wppr_content_1', 10, 2 );

function custom_wppr_content_1( $content, $id ) {
	if ( $id == 12 ) {
		return 'something';
	if ( $id == 13 ) {
		return 'Just another description';
		return $content;

To control how many characters are displayed in the description, you can use the snippet below. The default is 55 and the snippet will change this to 100.

add_filter( 'excerpt_length', 'custom_excerpt_length_1' );

function custom_excerpt_length_1( $default ){
	// return the number of characters you want to set.	
	return 100;
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us