Ancla Review

While there are a lot of testimonial and review plugins available, many of them are overly complex or require payment to access more features. Ancla Review is simple and is only used on our projects where needed (not available in the WordPress plugin directory). It allows visitors (in most cases "customers") to leave a review from the front end of the site. A site administrator can then approve the testimonial (or review) and it will be displayed using code similar to the following:

$args = array(
	'post_type' => 'ancla_review',
	'posts_per_page' => -1 // Retrieves all posts, you can set a specific number

$travels_query = new WP_Query( $args );

if ( $travels_query->have_posts() ) {
	while ( $travels_query->have_posts() ) {
		$name = get_post_meta($post->ID, '_ancla_review_name', true);
		$stars = get_post_meta($post->ID, '_ancla_review_stars', true);
		the_title(); // Retrieves the post title
		echo $stars;
		the_content(); // Retrieves the post content
		echo $name;
} else {
	// No reviews found

wp_reset_postdata(); // Reset the query

This would typically be hard-coded on the page where you want to display the reviews. Additionally, you can display the form using the following shortcode: