Directory / plugin

Polstir

v3.0.0 · by platformthirteen

Embed polls created with Polstir using the shortcode [polstir].

About this plugin

Embed polls created with Polstir using the shortcode [polstir].

Demo

View a demo of an embedded poll. View the full poll page for comparison.

Usage

Embed a poll using the shortcode [polstir] and the poll id. For example, to embed a poll with the url https://pol.st/howdesign/dL5nQw9Ts729oPqaj use the shortcode [polstir id="dL5nQw9Ts729oPqaj"]

To customize the appearance of the embedded poll, additional options can be set in the shortcode. The full list of shortcode defaults is as follows:

[polstir id="wordpress-embed" image="1" question="1" comments="1" theme="light" style="normal"]

The following poll sections can be hidden by setting them to “0”:

  • image 1, 0 (defaults to 1)
  • question 1, 0 (defaults to 1)
  • comments 1, 0 (defaults to 1)

Theme and style options can also be set:

  • theme light, dark (defaults to light)
  • style normal, compact (defaults to normal)

Plugin tags