• Resolved PaolaWP

    (@paolawp)


    Hey guys,
    Your plugin is great! I just can’t seem to find the reason why it would show me the stars twice… I see this span class ‘gl-star-rating-stars’ is showing twice but when I try to remove it from the code it just makes lines disapear…
    Thanks anyway & cheers!
    Paola

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Does this still happen when you disable the “W3 Total Cache” plugin?

    Thread Starter PaolaWP

    (@paolawp)

    I deactivated W3 and emptied cache but the stars are still appearing twice!

    Plugin Author Gemini Labs

    (@geminilabs)

    In that case, this is happening because you are pasting HTML code in your page for the form instead of using the provided shortcode or widget.

    The star-rating control HTML is generated with javascript. When javascript is disabled, the stars in the form on your page are still showing which means that you are pasting HTML code in the page which includes the javascript-generated star-rating control.

    Please double-check your page or possible theme template used on that page.

    If you need to add the form in a template, I suggest you use the do_shortcode() function.

    i.e.

    <?php echo do_shortcode( '[site_reviews_form]' ); ?>
    
    Thread Starter PaolaWP

    (@paolawp)

    yes !
    You were right about the shortcode! Somehow the Divi theme builder switched the shortode to html ! Switching back to shortcode fixed the bug!
    Thank you for your fast and precise help!
    Paola

    Plugin Author Gemini Labs

    (@geminilabs)

    Happy to help. And thanks for the review! ??

    • This reply was modified 5 years, 12 months ago by Gemini Labs.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Stars Appearing twice’ is closed to new replies.