• Hello,
    Yasr rating is the one that I imagined. Its separate user rating, author rating really impressive. I decided to buy its plan. But I got one problem.
    I wanted to insert one post’s user rating to another post. So I clicked inspect->elements on Google chrome & copied its HTML code The code is below.

    <div id="yasr_visitor_votes_185" class="yasr-visitor-votes"><div class="rateit bigstars yasr_visitor_votes_stars_div" id="yasr_rateit_user_votes_voted" data-rateit-starwidth="32" data-rateit-starheight="32" data-rateit-value="5" data-rateit-resetable="false" data-rateit-readonly="true"><button id="rateit-reset-2" type="button" data-role="none" class="rateit-reset" aria-label="reset rating" aria-controls="rateit-range-2" style="display: none;"></button><div id="rateit-range-2" class="rateit-range" tabindex="0" role="slider" aria-label="rating" aria-owns="rateit-reset-2" aria-valuemin="0" aria-valuemax="5" aria-valuenow="5" aria-readonly="true" style="width: 160px; height: 32px;"><div class="rateit-selected" style="height: 32px; width: 160px;"></div><div class="rateit-hover" style="height:32px"></div></div></div>
                <span class="yasr-total-average-text" title="yasr-stats"> [Total: 1 &nbsp; &nbsp;Average: 5/5 ]</span>
                <span class="yasr-small-block-bold" id="yasr-vote-saved">Vote Saved</span></div>

    But it is showing twice. See my website : https://www.ducktoluck.com/yasr-2nd-sample/

    1.
    I deleted its middle button code, but not worked.
    2.
    I deactivated & deleted all my plugins except Yasr. Still not worked.
    3.
    I changed my theme to twenty fifteen, not worked.
    4.
    I have many websites. I tried on another website. There also not worked.
    Please solve my problem.
    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor dudo

    (@dudo)

    Hello, thank you for using Yasr!

    Never, never, never copy and paste html element.

    If you want to show in a post a rating from another page/post simply do this.

    [yasr_visitor_votes postid=”XXXX”]

    where XXXX is the number of your postid; in the example you pasted above, 185

    [yasr_visitor_votes postid=”185″]

    Best,
    Dario

    Thread Starter Jack Climax

    (@kaku571)

    Hi..!
    It’s working.
    Thank You.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rating stars showing twice when I inserted one post’s rating to another. Why?’ is closed to new replies.