Commits

David Gero committed 44f5121 Draft

[m] widget translatable

Comments (0)

Files changed (1)

 		
 		echo $data['before_widget'];
 		
-		if ( !empty( $data['title'] ) ) { echo $data['before_title'] . $data['title'] . $data['after_title']; };
+		if ( !empty( $data['title'] ) ) { echo $data['before_title'] . apply_filters('widget_title', $data['title']) . $data['after_title']; };
 		if ( !empty( $data['limit'] ) ) { $no =  $data['limit']; } else { $no = '2'; }
 		
 		if ($data['category'] != 'all') { 
 	
 	if ($data['more'] == 'yes') { 
 		$link = get_permalink($data['fullpage']);
-		echo '<p class="kcvtst-widget-readmore"><a href="'.$link.'">Read More Testimonials &#187;</a></p>'; 
+		echo '<p class="kcvtst-widget-readmore"><a href="'.$link.'">' . __('Read More Testimonials &#187;') . '</a></p>'; 
 	}
 		
 	echo $data['after_widget'];