
內容簡介
總結:dtElection Poll Embed 讓您可以直接將 dtElection 的投票嵌入到 WordPress 文章和頁面中。
1. 什麼是 dtElection Poll Embed 外掛的功能?
- 支援輕鬆嵌入:只需要貼上投票 URL 或 token
- 行內投票:訪客可以在不離開您的網站的情況下進行投票
- 可使用 Gutenberg 區塊編輯器支援
- 支援短代碼,也適用於經典編輯器
- 響應式設計,在所有設備上都有很好的顯示效果
2. 如何使用 dtElection Poll Embed 外掛?
- 在 dtelection.com 創建一個投票
- 複製投票URL或令牌
- 將其添加到您的 WordPress 內容中
3. 什麼是 External Services?
- 此外掛連接到 dtElection API 以取得投票數據並提交投票
- 會傳送哪些數據?
- 投票令牌:顯示嵌入式投票時,外掛會傳送投票令牌以獲取投票詳細資訊(標題、選項、當前票數)
- 投票數據:當訪客提交投票時,外掛會傳送他們的名字、所選選項,以及選擇性地他們的電子郵件(如果投票需要)
4. 服務提供商是誰?
- 由 dtElection 提供
- 服務網站: https://dtelection.com
- 服務條款: https://dtelection.com/terms
- 隱私政策: https://dtelection.com/privacy
外掛標籤
開發者團隊
原文外掛簡介
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
Create a poll at dtelection.com
Copy the poll URL or token
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.
Service website: https://dtelection.com
Terms of Service: https://dtelection.com/terms
Privacy Policy: https://dtelection.com/privacy
