Thanks for using our plugin!
Unfortunately, this shortcode has very limited functionality and it only works on WooCommerce single product pages. I see that you tried to add the shortcode on a regular WordPress page and this is why it doesn’t work.
We are working on adding a larger variety of shortcodes to the plugin. They should be available with one of the next updates.
Hi Guys,
Awsome support. Looking forward to the updates.
Regards
Les
When is the update? I plan on doing the same, non Woo page with the review.
We are working on it. As soon as they are ready, they will be publicly available. We don’t want to release half-baked features, so it takes time to prepare and test everything. Also, WooCommerce released a new version recently, so we have to do additional work to make sure that our plugin is fully compatible with the latest version of WooCommerce.
Hey Aussieless… how I hacked it:
<?
$args = array(
'p' => $product_ID,
'post_type' => 'any'
);
$orig_product = new WP_Query( $args );
while ( $orig_product->have_posts() ): $orig_product->the_post();
if( $post->comment_status == 'open' ):
?>
<div class="content page reviews">
<? echo do_shortcode('[cusrev_reviews]'); ?>
</div>
<?
endif;
endwhile;
?>
I’m loading mine into a single-[custom post type] then using ACF to input the Product ID. It could be as simple as [cusrev_reviews product_ID=”xxx”], hopefully they just add that at some point. I might try to modify the shortcode to allow that at some point if I get time but this works well for now.
Oh and add:
wp_enqueue_script('customer-reviews-woocommerce-js', '/wp-content/plugins/customer-reviews-woocommerce/js/frontend.js','',NULL,false);
wp_enqueue_style('customer-reviews-woocommerce-css', '/wp-content/plugins/customer-reviews-woocommerce/css/frontend.css','',NULL,false);
wp_enqueue_script( 'recaptcha', 'https://www.google.com/recaptcha/api.js', array(), null, true );
To your functions.php to load the scripts and CSS.
Also interested in this:
-having the shortcode working in a normal page
-being able to filter from which category of products to pull reviews from
-have the rich snippets / schema in that page so that for the new page that uses shortcode is pulling all reviews, the stars appear on google search.
I hope this update can be asap!
Same here : great plugin + looking forward to the shortcodes update 🙂