• Resolved Vincenzo Stefanini

    (@vincenzost)


    Hello,

    I’m doing some tests, I have submitted a test review.
    Now I have deleted the review (comment deleted from the wp admin dashboard) but the rating is still showing in the front end and there is no way to remove it from the object.

    How can I do it?

    Thanks.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bookingalgorithms

    (@bookingalgorithms)

    Hello,

    You can use this code in your child theme:
    remove_filter( 'babe_post_content_before_tabs', array( 'BABE_html', 'babe_post_content_star_rating'), 40, 3);


    Best Regards,
    Booking Algorithms team

    Thread Starter Vincenzo Stefanini

    (@vincenzost)

    I tried but it’s still showing the stars on the listings.

    I also have a similar problem for the favourite icon.
    I have disabled in from the backend but still showing in the listing.

    https://pasteboard.co/JLzCdRK.png

    For now, I have disabled both of them from the frontend via CSS but it’s not ideal.

    
    .tour-favorite.ali-right {
        display: none;
    }
    
    .post-total-rating {
        display: none;
    }
    

    Is there a way to remove the actual review from the object? I removed the comment but the stars are still showing.

    Thanks.

    Plugin Author bookingalgorithms

    (@bookingalgorithms)

    Hello,

    The favourite icon is not managed by the plugin. You have to look into the theme code for hooks to filter favourite icon and rating on listings.


    Best Regards,
    Booking Algorithms team

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove Rating / Review from booking object’ is closed to new replies.