Support » Plugin: Better Recent Comments » Stopped working as expected

  • This plugin was working great to display recent WooCommerce product reviews but it suddenly stopped displaying new reviews just recently – there are a couple of 2018 reviews on this page but then it’s showing 2016 and nothing from the past few months.

    There are more recent reviews, as seen here: https://cl.ly/400a5e68ec9d

    This is the shortcode I built… [better_recent_comments format=”{comment} {author}, {post}, {date}” excerpts=”false” date_format=”F j, Y”]

    Any idea why this stopped working? Desperate to get it going again… Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andy Keith

    (@andykeith)

    Hi,

    Sorry for the delay. You would need to set the comment type to review to get that working – the default is comment which shows standard blog post comments.

    To do that, use the better_recent_comments_comment_type filter. E.g.

    
    add_filter( 'better_recent_comments_comment_type', function( $type ) {
       return 'review';
    } );
    

    Thank you Andy, this worked perfectly!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stopped working as expected’ is closed to new replies.