• Resolved grecoyes001

    (@grecoyes001)


    Hi, the plugin is perfect, i set up all and everything works fine.

    i have one request, is it possible to display all the reviews under all product? i tried with “all review” block but it will display review in wp original style.

    Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support angelagrey

    (@angelagrey)

    Hi,

    Thank you for reaching out to us.

    The function is available in the pro version only. There you can use shortcode to display all reviews (please visit this documentation for more details).

    By “All reviews” block I supposed you meant the “All start” rating filter? If that’s the case, it’ll only display all review of a product in that review tab, either Grid or Normal style.

    Best regards.

    Thread Starter grecoyes001

    (@grecoyes001)

    hi, i meant to display all reviews under all product page (review also of other product). can be done? thanks

    Thread Starter grecoyes001

    (@grecoyes001)

    for example https://wizyakuza.com/ this site use this type, so review under all post but rating star in gallery only of the reviewed one. i need this cause i have lots of product so its hard that all will get a review

    Thread Starter grecoyes001

    (@grecoyes001)

    can you pls tell me what shortcode you meant? and where i need to put the shortcode? thank you a lot

    Plugin Support angelagrey

    (@angelagrey)

    Hi,

    If you use a product builder plugin, you can add a block under the product page and add this shortcode: https://prnt.sc/fwfDHdGZpX6s

    Thread Starter grecoyes001

    (@grecoyes001)

    product builder plugin? can you give me an example? thx

    Plugin Support angelagrey

    (@angelagrey)

    I’m not really familiar with these plugins, I see this one is quite popular, you can try: https://wordpress.org/plugins/elementor/

    Thread Starter grecoyes001

    (@grecoyes001)

    so is not possible wihtout a plugin?

    Plugin Support angelagrey

    (@angelagrey)

    I’m sorry I don’t know for sure. It’s about how you build your website. If there’s somewhere on your website that can show up under all product pages, and you can insert a shortcode there, then it’s alright to enter our plugin shortcode and display all reviews under all products without a plugin.

    However, I’m uncertain how you want to build your site so it’s just an opinion. You can find other ways to insert a shortcode there

    Thread Starter grecoyes001

    (@grecoyes001)

    sorry, now i make it works but it changes the font of my theme, is it normal? thank you

    • This reply was modified 12 months ago by grecoyes001.
    Thread Starter grecoyes001

    (@grecoyes001)

    function add_photo_reviews_shortcode_to_product_pages() {
    if (function_exists(‘is_product’) && is_product()) {
    echo do_shortcode(‘[wc_photo_reviews_shortcode comments_per_page=”16″ cols=”4″ cols_mobile=”2″ use_single_product=”off” cols_gap=”” products=”” grid_bg_color=”” grid_item_bg_color=”” grid_item_border_color=”” text_color=”” star_color=”” product_cat=”” order=”” orderby=”comment_date_gmt” show_product=”on” filter=”on” pagination=”on” pagination_ajax=”on” pagination_pre=”” pagination_next=”” loadmore_button=”off” filter_default_image=”off” filter_default_verified=”off” filter_default_rating=”5″ pagination_position=”” conditional_tag=”” custom_css=”” ratings=”” mobile=”on” is_slide=”on” style=”masonry” masonry_popup=”review” enable_box_shadow=”on” full_screen_mobile=”on” overall_rating=”off” rating_count=”off” only_images=”off” image_popup=”below_thumb”]’);
    }
    }
    add_action(‘woocommerce_after_single_product_summary’, ‘add_photo_reviews_shortcode_to_product_pages’);

    i tried this and works but i cant make the review count corretly, because in the non reviewed product i still see “reviews (0)” but i want that count all the site review, so i tried this code but seems counting also past/deleted reviews:function modify_product_reviews_text($text, $count) { global $wpdb; $total_reviews_count = $wpdb->get_var(“SELECT COUNT(*) FROM {$wpdb->comments} WHERE comment_approved = ‘1’”); if ($total_reviews_count > 0) { $text = sprintf(_n(‘Recensione (%s)’, ‘Recensioni (%s)’, $total_reviews_count, ‘woocommerce’), number_format_i18n($total_reviews_count)); } return $text; } add_filter(‘woocommerce_product_reviews_tab_title’, ‘modify_product_reviews_text’, 10, 2); add_filter(‘woocommerce_product_reviews_tab_description’, ‘modify_product_reviews_text’, 10, 2);

    you know how to fix this? thank you

    Plugin Support angelagrey

    (@angelagrey)

    Hi, I’m sorry for the delayed reply. Thank you for kindly waiting.

    Looks like you’re using the pro version, I supposed? Because shortcode is not available in the free version…

    Please create a support ticket on this Support Forum, we’ll be checking for you. I’m sorry for any inconvenience, we’re not allowed to support pro users here – it’s WordPress policy

    However, just a quick note that we can’t help with custom coding.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘DISPLAY ALL REVIEWS’ is closed to new replies.