Removing the Testimonial Archive Page

By default the Testimonial Rotator creates a new custom post type that has an archive located at /testimonials which shows a list view of all testimonials. This can be turned off by including the following function in your functions.php file found in your theme.

function hg_testimonial_rotator_pt_args( $args )
	 $args['has_archive'] = false;
	 return $args;
 add_filter( 'testimonial_rotator_pt_args', 'hg_testimonial_rotator_pt_args' );