• Resolved jrgong

    (@jrgong)


    Whenever a user already gave a rating, I want to hide the whole [ratemypost] box.

    Maybe you can add a css class like rated to the div rmp-main?
    That way it’s easy to hide via CSS

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Blaz K.

    (@blazk)

    Yes, this would be the best solution. I will add a class to the div after rating and then you will be able to hide it with custom css. Coming in the next version ??

    Plugin Support Blaz K.

    (@blazk)

    This has been added in version 2.1.3 which I just released. Now you can hide the whole widget after the post has been rated with custom css.

    
    .rmp-rated {
        display: none;
    }
    

    Blaz

    Thread Starter jrgong

    (@jrgong)

    Hey Blaz

    I noticed that the class you mentioned doesn’t appear on [ratemypost] widget
    see https://www.cannabisanbauen.net/grow-equipment-sicher-diskret-kaufen/

    Can you check what’s going on?

    //edit: I think we have misunderstanding: I wanted to hide the output not immediately after giving a star rating, but next time when user re-visits the post.

    The whole point is that user cannot hover over the stars when revisiting an article he already reviewed it. Otherwise it implies that he can rate a 2nd time.

    Right now the widget immediately disappears when clicking the stars and leaving a rating. That doesn’t make sense from user perspective. As a user I expect to see the result after clicking and giving a star rating.

    • This reply was modified 5 years, 9 months ago by jrgong.
    Plugin Support Blaz K.

    (@blazk)

    Hi there,

    yes, I misunderstood your request. I will add this on to-do list and include in one of the future versions.

    Blaz

    Plugin Support Blaz K.

    (@blazk)

    I added the changes in version 2.2.0 – check it out and let me know if it works as expected ??

    Blaz

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide [ratemypost] output when user already gave a rating’ is closed to new replies.