Supported blocks
The Fans United Mini Games plugin provides several Gutenberg blocks for embedding interactive content directly in your WordPress pages and posts.
Available Blocks
Fans United Quiz Block
The Quiz block allows you to embed Classic Quizzes with full configuration options.
Configuration Options
Option | Description |
---|---|
Quiz Selection | Dropdown menu of available quizzes from your Fans United account |
Display Mode | Toggle between Play Mode (interactive) and Preview Mode (clickable teaser) |
Custom Leads Config | Enable/disable custom lead collection settings for this specific quiz |
Preview Click URL | (Preview Mode only) URL to navigate to when the preview is clicked |
Lead Form Position | Position the lead form before or after the content |
Lead Fields | Select which form fields to include |
Campaign ID | Campaign identifier for lead attribution |
Campaign Name | Campaign name for lead attribution |
Fans United Either/Or Block
The Either/Or block embeds interactive Either/Or games with similar configuration options to the Quiz block.
Configuration Options
Option | Description |
---|---|
Either/Or Selection | Dropdown menu of available Either/Or games |
Display Mode | Toggle between Play Mode (interactive) and Preview Mode (clickable teaser) |
Custom Leads Config | Enable/disable custom lead collection settings for this specific game |
Preview Click URL | (Preview Mode only) URL to navigate to when the preview is clicked |
Lead Form Position | Position the lead form before or after the content |
Lead Fields | Select which form fields to include |
Campaign ID | Campaign identifier for lead attribution |
Campaign Name | Campaign name for lead attribution |
Fans United Poll Block
The Poll block embeds interactive polls where users can vote on options.
Configuration Options
Option | Description |
---|---|
Poll Selection | Dropdown menu of available polls |
Custom Leads Config | Enable/disable custom lead collection settings for this specific poll |
Lead Form Position | Position the lead form before or after the content |
Lead Fields | Select which form fields to include |
Campaign ID | Campaign identifier for lead attribution |
Campaign Name | Campaign name for lead attribution |
Fans United List Block
The List block embeds curated content lists from Fans United.
Configuration Options
Option | Description |
---|---|
List ID | The ID of the list to display |
Using Blocks in the Editor
- Add a new block by clicking the "+" button in the WordPress editor
- Search for "Fans United" or navigate to the "Widgets" category
- Select the desired block type
- Configure the block settings in the right sidebar
- Preview your content using the WordPress preview functionality
Block Requirements
- All blocks require the Fans United Core plugin to be installed and properly configured
- Content is fetched dynamically from the Fans United API
- Blocks automatically adapt to your site's theme and the settings configured in the Fans United Core plugin
Styling Blocks
The blocks respect the following styling options:
- Alignment: Left, center, right, or wide width
- Spacing: Margin and padding controls
- Typography: Font size and line height
Additional styling can be applied using custom CSS targeting the .fu-widget
class.
Advanced Block Features
Content Preview
When using Preview Mode for Quizzes and Either/Or games:
- The content displays as a teaser card
- Clicking the card navigates to the specified URL
- If no URL is specified, the card remains non-clickable
Lead Collection
Lead collection settings in blocks override the global settings from the Fans United Core plugin.
Content Updates
Content displayed in blocks is automatically updated when:
- The source content is updated in the Fans United platform
- Results change based on user participation
Updated 10 days ago