Adding new testimonial from backend
-
You have forgot to add a checkbox to allow contact info showing, when adding testimonials from backend.
Add following code to line 290 of class.clean-testimonials.php:
<tr>
<td valign="middle" align="left"><label for="testimonial_client_website"><?php _e( 'Permission', 'clean-testimonials' ); ?></label></td>
<?
$allow = get_post_meta( $post->ID, 'testimonial_client_permission', true );
if( $allow ){$checked = ' checked="checked"';}else{$checked = '';}
?>
<td valign="middle" align="left"><input type="checkbox" name="testimonial_client_permission" value="yes" <?php echo $checked; ?>/>
<td valign="middle" align="left"><?php _e( 'show contacts', 'clea-testimonials' ); ?></td>
</tr>
- The topic ‘Adding new testimonial from backend’ is closed to new replies.