WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] Show Total Votes in Template After End Date (3 posts)

  1. gillianpearce
    Member
    Posted 1 year ago #

    I've managed to set up a results page which shows the answers and results. see http://gillianpearce.com/vote-for-a-quote-results/

    I'm wanting to add the total votes as well and have tried adding <div>%POLL-TOTAL-VOTES%</div> in various ways in the Template After End Date but haven't been able to make it work.

    What do I need to do to show total votes?

    Thanks
    Gillian

    http://wordpress.org/plugins/yop-poll/

  2. YOP
    Member
    Plugin Author

    Posted 12 months ago #

    Hey Gillian,

    To show your total votes you need to make these changes to the template you used on your poll.

    So edit the template you used and in Template After End Date add

    <div>%POLL-TOTAL-VOTES%</div>

    Also, edit you poll and in the "View Results Options" section, make sure that you choose "Yes" in "View Total Answers".

    Best wishes,

    YOP Team

  3. gillianpearce
    Member
    Posted 12 months ago #

    Thanks for that. It was the poll settings I had wrong. I had to set "View Total Votes" to "yes" and now it works.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.