跳到内容

dtElection Poll Embed

v1.7.0

dtelection · 2026年2月7日 上架

Embed dtElection polls in your WordPress site. Let visitors vote on polls directly without leaving your site.

正在使用
10 以下
评分
暂无
累计下载
587
最近更新
2026年6月20日
需要 WordPress 5.0+已测试到 6.9.12PHP 7.4+

贡献者

截图

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

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

Features

  • Easy embedding – Just paste your poll URL or token
  • Inline voting – Visitors vote without leaving your site
  • Gutenberg block – Modern block editor support
  • Shortcode support – Works with classic editor too
  • Responsive design – Looks great on all devices
  • Real-time results – Poll updates after voting
  • Yes/Maybe/No voting – Full support for 3-option voting
  • Email collection – Optional email requirement for voters
  • Location display – Show poll location with Google Maps link
  • Hero images – Display poll hero images (Pro+ feature)
  • External links – Show attached links (Enterprise feature)
  • White-label option – 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″]

Using the shortcode with a full URL:
[dtelection poll=”https://dtelection.com/poll/abc123″]

External Services

This plugin connects to the dtElection API to fetch poll data and submit votes. This is the core functionality of the plugin – it cannot work without this external service.

What data is sent

  • Poll token – When displaying an embedded poll, the plugin sends the poll token to fetch poll details (title, options, current votes).
  • Vote data – 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums