Blog · Gutenberg
Sources & References block for WordPress
A formatted bibliography/citations section for articles and research. Add numbered references with title, author, publication, URL, and access date. Styles: academic, card list, or minimal.
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
A formatted bibliography/citations section for articles and research. Add numbered references with title, author, publication, URL, and access date. Styles: academic, card list, or minimal.
Inspector panels on this block: References, Style & Display. Those titles come from index.js, not from a shared template.
Behavior controls: “Style & Display — Style” options: Academic (formatted), Cards, Minimal list.
Where to find it
Gutenberg inserter → Blog → search “Sources & References” (block name `blockenberg/sources-references` in block.json). Style it in the sidebar after insert.
How to use Sources & References block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Sources & References”, insert it. Category: Blog.
- Configure inspector controls that exist on this block. Open References. Set “Title”, “Author(s)”, “Publication / Source”, “URL”.
- 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 |
|---|---|
| Title | Text field in the inspector. |
| Author(s) | Text field in the inspector. |
| Publication / Source | Text field in the inspector. |
| URL | Text field in the inspector. |
| Access Date | Text field in the inspector. |
| Note (optional) | Multiline text field in the inspector. |
| Section Label | Text field in the inspector. block.json default: Sources & References. Saved as `label`. |
| Show Label | On/off toggle in the inspector. On by default. Saved as `showLabel`. |
| Style & Display — Style | Select control; the chosen value is saved on the block. Options: Academic (formatted); Cards; Minimal list. block.json default: academic. Saved as `style`. |
| Show Author | On/off toggle in the inspector. On by default. Saved as `showAuthor`. |
| Show Publication | On/off toggle in the inspector. On by default. Saved as `showPublication`. |
| Show Access Date | On/off toggle in the inspector. On by default. Saved as `showDate`. |
| Show URL | On/off toggle in the inspector. On by default. Saved as `showUrl`. |
| Open Links in New Tab | On/off toggle in the inspector. On by default. Saved as `openInNewTab`. |
| Border Radius (cards) | Numeric range control in the inspector. Range 0–16. block.json default: 8. Saved as `borderRadius`. |
| Padding Top | Numeric range control in the inspector. Range 0–120. block.json default: 40. Saved as `paddingTop`. |
| Padding Bottom | Numeric range control in the inspector. Range 0–120. block.json default: 40. Saved as `paddingBottom`. |
| Colors — Background | Color control in the inspector. block.json default: #f8fafc. Saved as `bgColor`. |
| Section Label | Color control in the inspector. block.json default: #111827. Saved as `labelColor`. |
| Number | Color control in the inspector. block.json default: #6366f1. Saved as `numberColor`. |
| Colors — Title | Color control in the inspector. block.json default: #111827. Saved as `titleColor`. |
| Author | Color control in the inspector. block.json default: #374151. Saved as `authorColor`. |
| Publication | Color control in the inspector. block.json default: #6b7280. Saved as `pubColor`. |
| URL Link | Color control in the inspector. block.json default: #6366f1. Saved as `urlColor`. |
| Border (cards) | Color control in the inspector. block.json default: #e2e8f0. Saved as `borderColor`. |
| Card Background | Color control in the inspector. block.json default: #ffffff. Saved as `cardBg`. |
What the front-end script actually does
- The view script reads HTML data attributes: data-opts, data-rendered.
When this is the right block
- A formatted bibliography/citations section for articles and research. Add numbered references with title, author, publication, URL, and access date. Styles: academic, card list, or minimal — that is the job of Sources & References, not a generic content block.
- Use it when you need the editor control labeled “Title”, which exists on this block’s inspector.
- It matches pages about sources, references, citations.
- 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 Sources & References block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Sources & References”. It sits under Blog. After insert, open References and set “Title”, “Author(s)”, “Publication / Source”, “URL”.
What makes Sources & References different from other Blockenberg blocks?
A formatted bibliography/citations section for articles and research. Add numbered references with title, author, publication, URL, and access date. Styles: academic, card list, or minimal. Inspector labels on this block include “Title”, “Author(s)”, “Publication / Source”, “URL”.
Is the Sources & References Gutenberg block free?
Yes. Sources & References ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Sources & References 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: References, Style & Display).
Related blog blocks
Footnotes
Academic-style footnotes with numbered inline markers and a full reference list.
Fact Check
Editorial fact-check verdict box with claim, verdict rating, explanation, and sources.
Press Release
Structured press release with dateline, headline, body paragraphs, boilerplate, and media contact block.
Research Brief
Academic or industry research summary: study details, findings with significance, limitations, and key takeaways.
Article Header
Rich editorial-style article/blog post header with category badge, headline, subheadline, author meta bar, and optional hero image.
Article Series
Multi-part series navigator showing all articles with the current one highlighted and progress indicator.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Sources & References from the Gutenberg inserter.