• Resolved sergiom87

    (@sergiom87)


    Hi,

    I’m using flatsome and customer reviews. We recently have started using wpml and I’m facing an issue where the shortcode that displays reviews is not displaying any on the homepage. I’ve “translated” these shortcodes (basically i had nothing to translate since they’re shortcodes) but it keeps saying that there are no reviews.

    I have activated reviews to be visible on all products/all languages using this code: global $sitepress;
    remove_filter( ‘comments_clauses’, array( $sitepress, ‘comments_clauses’ ), 10, 2 );

    I dont think this is related but if it helps…

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sergiom87

    (@sergiom87)

    [cusrev_trustbadge type="SLP" border="no" color="#f7f7f7"]
    [cusrev_reviews_slider count="0" shop_reviews="true" color_stars="#ffc300" count_shop_reviews="6" autoplay="false"]

    That’s the shortcode i’m using

    Plugin Support cusrev

    (@cusrev)

    Thanks for using our plugin!

    Can you please confirm that the problem with missing reviews occurs only when WPML is active? If you disable WPML, are you able to see reviews?

    Thread Starter sergiom87

    (@sergiom87)

    I am able to see reviews on main language (with wpml) and without wpml.

    After activating WPML and translating the shortcode (basically it creates the shortcode on the translated language, the same as on main language).

    Plugin Support cusrev

    (@cusrev)

    Thanks for providing additional information!

    It looks like WPML works as it should – hides reviews when viewing the website is a language that is different from the language of reviews.

    If you don’t like this WPML behavior, then it will be necessary to implement some kind of code snippet (similar to what you mentioned in your first message) to disable WPML filtering functionality. In this case, it would be best to contact WPML support to confirm which code snippet has to be used to turn off their plugin.

    Thread Starter sergiom87

    (@sergiom87)

    Damn, that’s what I didnt wanted to hear ;(

    But I understand what you mean. Thanks for the reply and awesome plugin.

    Plugin Support cusrev

    (@cusrev)

    No worries! Sorry for not being able to be more helpful here.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WPML and Shortcode to display reviews’ is closed to new replies.