dtElection Poll Embed

Àpèjúwe

dtElection Poll Embed lets you embed polls from dtElection directly into your WordPress posts and pages.

Features

  • Easy embedding Ìtumọ̀ Yorùbá: – Just paste your poll URL or token
  • Inline voting Ìtumọ̀ Yorùbá: – Visitors vote without leaving your site
  • Gutenberg block Ìtumọ̀ Yorùbá: – Modern block editor support
  • Shortcode support Ìtumọ̀ Yorùbá: – Works with classic editor too
  • Responsive design Ìtumọ̀ Yorùbá: – Looks great on all devices
  • Real-time results Ìtumọ̀ Yorùbá: – Poll updates after voting
  • Yes/Maybe/No voting Ìtumọ̀ Yorùbá: – Full support for 3-option voting
  • Email collection Ìtumọ̀ Yorùbá: – Optional email requirement for voters
  • Location display Ìtumọ̀ Yorùbá: – Show poll location with Google Maps link
  • Hero images Ìtumọ̀ Yorùbá: – Display poll hero images (Pro+ feature)
  • External links Ìtumọ̀ Yorùbá: – Show attached links (Enterprise feature)
  • White-label option Ìtumọ̀ Yorùbá: – Remove branding for Pro+ tiers

How to Use

  1. Create a poll at dtelection.com
  2. Copy the poll URL or token
  3. Add to your WordPress content:
    • Gutenberg: Insert “dtElection Poll” block, paste URL/token
    • Shortcode: [dtelection poll="YOUR_TOKEN"]

Examples

Using the shortcode with a token:
[dtelection poll=”abc123Ìtumọ̀ Yorùbá: ″]

Using the shortcode with a full URL:
[dtelection poll=”https://dtelection.com/poll/abc123Ìtumọ̀ Yorùbá: ″]

External Services

This plugin connects to the dtElection API to fetch poll data and submit votes. This is the core functionality of the plugin Ìtumọ̀ Yorùbá: – it cannot work without this external service.

What data is sent

  • Poll token Ìtumọ̀ Yorùbá: – When displaying an embedded poll, the plugin sends the poll token to fetch poll details (title, options, current votes).
  • Vote data Ìtumọ̀ Yorùbá: – When a visitor submits their vote, the plugin sends their name, selected options, and optionally their email (if the poll requires it).

When data is sent

  • When a page containing an embedded poll is loaded (to fetch poll data)
  • When a visitor clicks “Vote” to submit their selection

Service provider

This service is provided by dtElection.

Àwọn àwòrán ìbòjú

  • Embedded poll in a WordPress post with voting options
  • dtElection Poll block in the Gutenberg editor
  • Poll results view with colored progress bars
  • Admin documentation page with usage guide

Àwọn ìdí

Plugin yìí pèsè 1 ìdí.

  • dtElection Poll Embed a dtElection poll in your content.

Ìgbéwọlẹ̀

  1. Upload the dtelection-embed folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Start embedding polls using the shortcode or Gutenberg block

FAQ

Do I need a dtElection account?

You need to create polls at dtelection.com first. Creating polls is free.

Can visitors vote without an account?

Yes! Visitors can vote on embedded polls without creating any account.

Does this work with the block editor?

Yes! ThereÌtumọ̀ Yorùbá: ’s a dedicated “dtElection Poll” block for the Gutenberg editor.

Can I style the poll to match my theme?

The current version uses dtElection branding. Custom styling options are planned for a future release.

Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

Àwọn Olùkópa & Olùgbéejáde

“dtElection Poll Embed” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “dtElection Poll Embed” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.6.1

  • Fixed text domain to match plugin slug for WordPress.org translations
  • Added External Services documentation for API transparency
  • Removed remote favicon dependency Ìtumọ̀ Yorùbá: – now uses local assets only
  • Updated contributor information

1.6.0

  • Added Yes/Maybe/No voting buttons for polls with “allow maybe” enabled
  • Added email input field when poll requires email
  • Added location display with clickable Google Maps link
  • Added hero image support (displayed at top of poll)
  • Added external link display (Enterprise feature)
  • Added conditional branding Ìtumọ̀ Yorùbá: – Pro/Enterprise tiers can hide dtElection branding
  • Improved results display showing separate yes/maybe counts
  • Updated responsive styles for mobile devices

1.5.0

  • Added single selection mode (radio buttons vs checkboxes)
  • Improved error handling with specific error messages
  • Better domain whitelist validation

1.4.0

  • Added support for closed poll detection
  • Improved vote submission error handling

1.3.0

  • Added dtElection favicon to brand link
  • Brand link now opens the actual poll on dtElection
  • Result bars now use dtElection colors (teal/orange)
  • Leading vote highlighted in orange
  • Improved visual design

1.1.0

  • Added duplicate vote prevention (remembers if user voted via localStorage)
  • Added “How to Use” documentation page in WordPress admin
  • Added dtElection menu item with full usage guide
  • Shows “already voted” message with voter name
  • Improved user experience for returning visitors

1.0.0

  • Initial release
  • Shortcode support
  • Gutenberg block support
  • Inline voting