ContentPoll AI is a WordPress plugin that lets editors easily insert interactive voting polls into posts and pages, helping site visitors share their opinions or answer questions. It features AI-assisted suggestions to generate relevant poll questions and options based on your content, supports multiple AI providers (like OpenAI, Gemini, Anthropic, Ollama, Exo), and keeps voting results up-to-date in a visually clear format. The plugin comes with robust security, analytics, and admin controls so site owners can manage polls, track performance, and keep user data safe.
Source Repository: https://github.com/soderlind/content-poll
flowchart TD
A0["Vote Block (Gutenberg Block)
"]
A1["AI Suggestion Service & Providers
"]
A2["Flow/Node Pattern (PocketFlow)
"]
A3["Database Manager (Vote Storage & Migrations)
"]
A4["REST API Controllers
"]
A5["Admin Settings Page & Analytics
"]
A6["Security Helper (Nonces, Tokenization, and Capability Checks)
"]
A7["Analytics & Orphan Data Detection
"]
A8["Block Editor Front-End Helpers & UI Logic
"]
A9["Project Constitution & Coding Standards
"]
A0 -- "Requests suggestions" --> A1
A0 -- "Interacts via REST" --> A4
A0 -- "Uses helpers/UI" --> A8
A1 -- "Uses for pipelines" --> A2
A1 -- "Reads config" --> A5
A2 -- "Implements workflow" --> A1
A3 -- "Provides data" --> A5
A3 -- "Used for data storage" --> A4
A4 -- "Persists/retrieves votes" --> A3
A4 -- "Checks security" --> A6
A4 -- "Calls for suggestions" --> A1
A5 -- "Displays analytics" --> A7
A5 -- "Sets provider config" --> A1
A6 -- "Protects endpoints" --> A4
A7 -- "Queries vote data" --> A3
A8 -- "Enhances UI experience" --> A0
A9 -- "Defines standards" --> A0
A9 -- "Enforces design/security" --> A1
- Vote Block (Gutenberg Block)
- Block Editor Front-End Helpers & UI Logic
- AI Suggestion Service & Providers
- Flow/Node Pattern (PocketFlow)
- REST API Controllers
- Security Helper (Nonces, Tokenization, and Capability Checks)
- Database Manager (Vote Storage & Migrations)
- Admin Settings Page & Analytics
- Analytics & Orphan Data Detection
- Project Constitution & Coding Standards
Generated by AI Codebase Knowledge Builder