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

OptionDescription
Quiz SelectionDropdown menu of available quizzes from your Fans United account
Display ModeToggle between Play Mode (interactive) and Preview Mode (clickable teaser)
Custom Leads ConfigEnable/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 PositionPosition the lead form before or after the content
Lead FieldsSelect which form fields to include
Campaign IDCampaign identifier for lead attribution
Campaign NameCampaign 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

OptionDescription
Either/Or SelectionDropdown menu of available Either/Or games
Display ModeToggle between Play Mode (interactive) and Preview Mode (clickable teaser)
Custom Leads ConfigEnable/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 PositionPosition the lead form before or after the content
Lead FieldsSelect which form fields to include
Campaign IDCampaign identifier for lead attribution
Campaign NameCampaign name for lead attribution

Fans United Poll Block

The Poll block embeds interactive polls where users can vote on options.

Configuration Options

OptionDescription
Poll SelectionDropdown menu of available polls
Custom Leads ConfigEnable/disable custom lead collection settings for this specific poll
Lead Form PositionPosition the lead form before or after the content
Lead FieldsSelect which form fields to include
Campaign IDCampaign identifier for lead attribution
Campaign NameCampaign name for lead attribution

Fans United List Block

The List block embeds curated content lists from Fans United.

Configuration Options

OptionDescription
List IDThe ID of the list to display

Using Blocks in the Editor

  1. Add a new block by clicking the "+" button in the WordPress editor
  2. Search for "Fans United" or navigate to the "Widgets" category
  3. Select the desired block type
  4. Configure the block settings in the right sidebar
  5. 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:

  1. The content displays as a teaser card
  2. Clicking the card navigates to the specified URL
  3. 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

What’s Next

Check our WordPress FAQ section