Blog · Gutenberg
Fact Check block for WordPress
Editorial fact-check verdict box with claim, verdict rating, explanation, and sources.
Get Blockenberg
Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.
What it actually does
Editorial fact-check verdict box with claim, verdict rating, explanation, and sources.
Inspector panels on this block: Verdict, Sources, Reviewer. Those titles come from index.js, not from a shared template.
Behavior controls: “Verdict” options: ✅ True, 🟢 Mostly True, 🟡 Mixed, 🟠 Mostly False, ❌ False.
Where to find it
Gutenberg inserter → Blog → search “Fact Check” (block name `blockenberg/fact-check` in block.json). Style it in the sidebar after insert.
How to use Fact Check block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Fact Check”, insert it. Category: Blog.
- Configure inspector controls that exist on this block. Open Verdict. Set “Verdict”, “Show Rating Scale Bar”, “Show Sources”, “Source Title”.
- Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Verdict | Select control; the chosen value is saved on the block. Options: ✅ True; 🟢 Mostly True; 🟡 Mixed; 🟠 Mostly False; ❌ False; ❓ Unverified; ⚠️ Misleading; 🎭 Satire. block.json default: mostly-false. Saved as `verdict`. |
| Show Rating Scale Bar | On/off toggle in the inspector. On by default. Saved as `showRatingScale`. |
| Show Sources | On/off toggle in the inspector. On by default. Saved as `showSources`. |
| Source Title | Text field in the inspector. |
| URL | Text field in the inspector. |
| Open Links in New Tab | On/off toggle in the inspector. On by default. Saved as `openInNewTab`. |
| Show Reviewer | On/off toggle in the inspector. Off by default. Saved as `showReviewer`. |
| Reviewer Name | Text field in the inspector. Saved as `reviewerName`. |
| Reviewer Title | Text field in the inspector. Saved as `reviewerTitle`. |
| Review Date | Text field in the inspector. Saved as `reviewDate`. |
| Border Radius | Numeric range control in the inspector. Range 0–20. block.json default: 10. Saved as `borderRadius`. |
| Padding Top | Numeric range control in the inspector. Range 0–120. block.json default: 0. Saved as `paddingTop`. |
| Padding Bottom | Numeric range control in the inspector. Range 0–120. block.json default: 0. Saved as `paddingBottom`. |
| Claim | Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoClaim`. |
| Analysis | Shared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoExplanation`. |
| Card Background | Color control in the inspector. block.json default: #ffffff. Saved as `bgColor`. |
| Colors — Border | Color control in the inspector. block.json default: #e2e8f0. Saved as `borderColor`. |
| Claim Background | Color control in the inspector. block.json default: #f8fafc. Saved as `claimBg`. |
| Claim Text | Color control in the inspector. block.json default: #1e293b. Saved as `claimColor`. |
| Label Text | Color control in the inspector. block.json default: #64748b. Saved as `labelColor`. |
| Analysis Text | Color control in the inspector. block.json default: #374151. Saved as `explanationColor`. |
| Source Link | Color control in the inspector. block.json default: #3b82f6. Saved as `sourceLinkColor`. |
| Source Title | Color control in the inspector. block.json default: #374151. Saved as `sourceTitleColor`. |
| Reviewer Text | Color control in the inspector. block.json default: #6b7280. Saved as `reviewerColor`. |
What the front-end script actually does
- The view script reads HTML data attributes: data-opts, data-rendered.
When this is the right block
- Editorial fact-check verdict box with claim, verdict rating, explanation, and sources — that is the job of Fact Check, not a generic content block.
- Use it when you need the editor control labeled “Verdict”, which exists on this block’s inspector.
- It matches pages about fact check, verdict, claim.
- Inserter grouping: posts, magazines, and editorial WordPress pages.
Notes from the implementation
viewScript: this folder’s frontend.js is enqueued on the front end for this block.
FAQ
How do I add the Fact Check block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Fact Check”. It sits under Blog. After insert, open Verdict and set “Verdict”, “Show Rating Scale Bar”, “Show Sources”, “Source Title”.
What makes Fact Check different from other Blockenberg blocks?
Editorial fact-check verdict box with claim, verdict rating, explanation, and sources. Inspector labels on this block include “Verdict”, “Show Rating Scale Bar”, “Show Sources”, “Source Title”.
Is the Fact Check Gutenberg block free?
Yes. Fact Check ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Fact Check to match my theme?
Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Verdict, Sources, Reviewer).
Related blog blocks
Article Header
Rich editorial-style article/blog post header with category badge, headline, subheadline, author meta bar, and optional hero image.
Listicle
Rich numbered list article format for Top 10, Best of, and ranked editorial content. Each item has number badge, title, image, description, verdict and tags.
Opinion Box
Editorial 'My Take' opinion callout with author attribution, badge, and signed commentary.
Press Release
Structured press release with dateline, headline, body paragraphs, boilerplate, and media contact block.
Quote Collection
Curated editorial multi-quote grid — inspirational quotes, expert opinions, notable sayings.
Review Box
Professional review card with score, pros/cons, and Schema.org markup.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Fact Check from the Gutenberg inserter.