We are working on that functionality for a future update, however it may be for a paid version of the plugin. The idea would be a sidebar widget that shows average rating, the latest review, and a link to the reviews page. How does that sound for what you need?
Love the plugin! Great for my testimonials page but I would also like to display recent reviews in my sidebar…
I’ve tried adding the following shortcode to a text widget in my sidebar and it just shows the shortcode instead of displaying the review as it does on my home page with the same shortcode: [WPCR_SHOW POSTID=”ALL” NUM=”1″ SNIPPET=”” MORE=”view more” HIDECUSTOM=”1″ HIDERESPONSE=”1″]
For now I’ve removed the widget, as it doesn’t look too great for my visitors.
Any ideas on how I can get it working as Denise above has?
Kind regards,
Oliver
http://www.interactivemagician.co.uk
Gowebsol — not sure if you received my responding email, but yes, yes, yes, that is what I want. A paid version of the plug-in does not scare me! Thanks for your quick response.
Corporatemagician — that seems like so many custom Codex scripts ago. If I remember right I had to add this to the bottom of the WP Customer Review plugin editor. The short code in the text widget worked after that.
if (!defined('IN_WPCR')) {
global $WPCustomerReviews;
$WPCustomerReviews = new WPCustomerReviews();
register_activation_hook(__FILE__, array(&$WPCustomerReviews, 'activate'));
register_deactivation_hook(__FILE__, array(&$WPCustomerReviews, 'deactivate'));
}
?>
Let me know if I’m wrong, and I’ll keep looking.
Hi Denise,
Thanks for your reply!
I already have that exact section of code at the bottom of the wp-customer-reviews.php so it must have been something else you changed to get it to work…
If you remember what it is, please reply to let me know 🙂
Sorry about that corporatemagician…I did finally find it however.
You need to add this to your function.php (mine is a theme so added to custom_function.php)
add_filter('widget_text', 'do_shortcode');
I added mine right before the existing script:
add_filter('body_class','et_browser_body_class');
The short code in the text widget worked for me with that added. Hope it works for you!