Shortcode for specific product reviews not working in 5.21.0
-
hi,
I realised that new reviews for products are duplicated / displayed for others. It didnt happen in past – I collect reviews from long time and they were assigned and displayed for specific products.
Example below (with problem described).Customer add review for product 1.
His review is visible in product 1 and product 2, etc. (for every product, which is not acceptable for me)
I displayed reviews under specific products by hook (in functions.php):add_action( ‘flatsome_custom_single_product_1’, function () {
echo do_shortcode( ‘[cusrev_reviews_grid products=’ . get_queried_object_id() . ‘ shop_reviews=”false”
show_summary_bar=”true”
show_products=”false”
show_more=”3″
]’ );
} );I think some update could also break my code. When I try with:[cusrev_reviews comment_file=”/comments.php”]
– its displayed correctly but i lose all layout from shortcode / hook from above.
Can u help?Will be grateful for fix
UPDATE:
I rolled back to 5.20.4 from 5.21.0 and its working correctly = new update 5.21.0 breaks something in shortcode!- This topic was modified 1 year, 11 months ago by .
- This topic was modified 1 year, 11 months ago by .
- This topic was modified 1 year, 11 months ago by .
- This topic was modified 1 year, 11 months ago by .
- This topic was modified 1 year, 11 months ago by .
- This topic was modified 1 year, 11 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Shortcode for specific product reviews not working in 5.21.0’ is closed to new replies.