Show results with ability to vote (in widget or theme)
-
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
- The topic ‘Show results with ability to vote (in widget or theme)’ is closed to new replies.