Documentation

Adding questions and choices


Questions#

Questions and choices are the main components of every poll and that's why It's important to know how to manage them properly.

Each question consists of 3 essential parts:

Content#

It could be a simple text, image a mix of both or even a shortcode. TotalPoll uses WordPress visual editor for your convenience.

Question content field
Question content field

Settings#

A set of settings to control question behaviour.

Question settings
Question settings

Choices list#

A list of choices that will be rendered as possible answers for end user.

Question choices
Question choices

Choices#

A choice is a possible answer to a specific question in your poll, each choice consists of 3 main fields:

  1. Label: It's a simple textual representation of the choice no matter of its type. It'll be used in various places, so make sure to keep it clear.
  2. Votes: Represent the number of real votes, you can set a specific number of votes manually by changing this field (irreversible action).
  3. Visibility: A simple toggle controller to hide or show choice on demand.

 

Text choice#

This choice type does not have any additional field. The label will be used as answer.

Text choice
Text choice

 

Image choice#

Image URL: This field could be used to specify the full size image URL. Usually, this URL will be opened in a modal box once the user clicks the thumbnail.

Thumbnail URL: This field could be used to specify the thumbnail URL. Generally, the thumbnail is used along with label to present the choice.

Available Sizes: a list of available sizes to use as thumbnail.

You’re free to use URLs from other websites to fill these fields up, but you can use the Upload button to upload your own image or get an image from your WordPress gallery. TotalPoll will take care of inserting the URLs.
Image choice
Image choice

 

Video choice#

Video URL: This field could be used to specify the video file URL. The video will be presented in a modal box.

Thumbnail URL: This field could be used to specify the thumbnail URL. Generally, the thumbnail is used along with label to present the choice.

Available Sizes: a list of available sizes to use as thumbnail.

You can enter the URL of a YouTube or Vimeo or any other supported services by WordPress then TotalPoll will extract video information for you.

 

Audio choice#

Audio URL: This field could be used to specify the audio file URL.

Thumbnail URL: This field could be used to specify the thumbnail URL. The thumbnail will be used as a cover for the audio being played along with choice label.

Available Sizes: a list of available sizes to use as thumbnail.

You can enter the URL of a SoundCloud file or any other supported services by WordPress then TotalPoll will extract audio information for you.

HTML choice#

This type allows you to insert custom HTML either by using visual or text mode. It gives you the flexibility and control over the content you'd like to display on your poll.

HTML choice
HTML choice