Support » Plugin: Helpful » Possibility to have only positive button

  • alikit

    (@alikit)


    Hello dear developer,

    First of all thanks for your useful plugin.
    I want to have only Helpful (positive) feedback button in my website but as I checked isn’t possible and it’s designed to have two buttons spaces always.
    Please let me know if I can do it now or please add this option in the next update, it will be great.

    Thanks and regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Pixelbart

    (@pixelbart)

    @alikit

    This is currently not possible without further ado. But you can remove the button with CSS:

    .helpful-controls > div:last-child {
        display: none;
    }
    
    .helpful-controls .helpful-contra {
        display: none;
    }
    Thread Starter alikit

    (@alikit)

    Thank you for your quick response.

    Your solution worked but only hide the “unhelpful” button and “helpful” button remains in the his place. can you help also to put the button in the center position please?

    I hope to put this option in your next update.

    • This reply was modified 1 month, 4 weeks ago by alikit.
    Plugin Author Pixelbart

    (@pixelbart)

    @alikit

    Try it once with the code below. I don’t know if I’ll put it in yet, since it’s not intended. This is an option that is not used in most cases and thus unnecessarily increases the size of the plugin.

    I think so simple rating plugins are better suited for this then.

    .helpful-controls > div:last-child {
        display: none;
    }
    
    .helpful-controls .helpful-contra {
        display: none;
    }
    
    .helpful-controls {
        text-align: center;
    }
    Thread Starter alikit

    (@alikit)

    Thank you.

    Although doesn’t align to the center but is not your problem and only hide the unhelpful button.
    Maybe you add some option related to this matter also in the next updates (if prefer).

    Thanks once again and regards.

    Plugin Author Pixelbart

    (@pixelbart)

    @alikit

    I forgot to mention that you can also copy the Helpful template into your WordPress theme and edit it. So you could theoretically remove the buttons.

    https://helpful-plugin.info/documentation/templates/

    Basically you have to create a folder in your WordPress theme folder:

    themes/your-theme/helpful/

    After that you can insert a helpful.php file there and then influence the HTML of Helpful.

    The default HTML skeleton, you can find here:

    https://github.com/pixelbart/helpful/blob/master/templates/helpful.php

    There you can remove the button. It is only important that the CSS classes should remain if possible. You can also use the Helpful theme (Customizer > Helpful) blank and style Helpful completely yourself with CSS.

    • This reply was modified 1 month, 4 weeks ago by Pixelbart.
    • This reply was modified 1 month, 4 weeks ago by Pixelbart.
    • This reply was modified 1 month, 4 weeks ago by Pixelbart.
    Thread Starter alikit

    (@alikit)

    Thank you once again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.