• I would like to know if it is possible to show the most times voted option of one poll – i have integrated for example in a post – in this post too.

    Because I want to do this szenario (example):

    The logged in users can vote for their most loved flavor of icecream in a post called “Whats your favorite icecream” where I have integrated the poll itself via a shortcode. But other readers perhaps want to know what is the most loved flavor of icecream without voting themselves or pressing the “see results” button. So the best way would be to echo the most times votes option of this poll in the post. Or maybe under the post via php.

    But how can I achieve this?

    Thx for help!

    https://www.ads-software.com/plugins/yop-poll/

Viewing 1 replies (of 1 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    Hi NicoPagel,

    You can not display only the most voted answer but you can display the results without your users having to vote or click on the View Results button.

    Edit your poll and in “Answers Advanced Options” set “Sorting Results in” to “Number of Votes” and “Sorting Results Rule” to “Descending”.

    Next, in View Results Options, set View Results to “Before Vote”. Also, set View Back To Vote Link to “Yes” and you can also change View Back To Vote Link Label: with the message you want.

    Best wishes,

    YOP Team

Viewing 1 replies (of 1 total)
  • The topic ‘Displaying the most voted option of a poll via shortcode?’ is closed to new replies.