• Resolved just0nequestion

    (@just0nequestion)


    I want to show the results of a poll in my sidebar and display a vote button. This way people could see the results in my sidebar to judge the outcoming and decide if they want to vote or not.

    I tried to call the function from my theme files. I used <?php echo do_shortcode('[ayspoll_results id="1"]'); ?> which does work.

    However it does lack the box shadow and other design aspects when compared to the results that get displayed after a user has voted within the poll-maker widget.

    How can I achieve the same look and why isn’t this done by default?

    If possible: The result should end up with displaying the results and a button to vote. If the button thing is too complicated, It would be enough to only show results from the poll. I could make a button myself that redirects users to an additional page where the poll is embedded by default as a workaround.

    Looking forward to your reply

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter just0nequestion

    (@just0nequestion)

    I was able to recreate the box shadow and other style elements by adding this line to my style.css

    #ays-poll-container-1 {
        box-shadow: #000 0px 0px 10px 0px !important;
    }

    Still have no solution on how to add a real vote button to the results. It would be so nice to have like a switched version of the widget shortcode that does display results and offer the ability to vote within the same box and without reloading the page.

    I will only consider my workaround if all other options fail

    Plugin Author ays-pro

    (@ays-pro)

    Hi dear @just0nequestion ,

    Thank you for the topic.

    Unfortunately, the plugin does not provide that functionality currently.

    But, please note that we are going to add a new option to our upcoming PRO update similar to the functionality you have mentioned.

    Let me explain what it is going to be.
    The option going to be called Show votes count per answer before the voting. It will enable the users to see the live voting results before the voting process.

    If you would like to, I can let you know when it is ready.

    Thanks.

    Thread Starter just0nequestion

    (@just0nequestion)

    Since we using the plugin on a nonprofit website we actually can’t afford more premium plugins.

    Imho this feature should be available to all users since it is a very basic functionality. However this decision is up to you and your developers and I would appreciate it to get a pm from you, once it is public.

    By the way:

    It is awesome that people can use a href=”” in the answer fields. Beeing able to use links there makes the poll really much more useful in some cases. Please don’t get rid of this feature. I really like the idea behind!

    What I really dislike: Please get rid of using google fonts and facebook sdk. In europe it’s not legal to use these US based services without opt in from the user.

    So please add an option to get rid of third party downloads and implement the code necessary within your plugin itself. It would suit millions of users more if the user at least has the choice to disable these includes!

    I will post a how to achieve this with a workaround in the support forum:

    Looking forward to your answer.

    Best regards!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show results with ability to vote (in widget or theme)’ is closed to new replies.