A modern block theme showcasing how WordPress powers digital transformation in government organizations
CivicSignals is an enterprise-level WordPress block theme designed specifically for public sector organizations. It transforms complex digital modernization journeys into compelling, accessible narratives that citizens and stakeholders can understand and engage with.
π― Storytelling-First Design β Chapter-based narrative structure with automatic content formatting
π¨ Premium Aesthetics β Bold typography, minimal design, large background chapter numbers
π±οΈ Premium Interactions β Custom cursor, reactive particle system, smooth parallax effects
βΏ Accessibility Built-In β WCAG 2.1 AA compliant with semantic HTML and ARIA support
π± Fully Responsive β Beautiful on all devices, from mobile to desktop
β‘ Performance Optimized β Pure WordPress, no build process, lightning fast
- β Full Site Editing (FSE) β Complete control via Site Editor
- β theme.json Configuration β Global styles, colors, typography, spacing
- β Block Templates & Parts β Fully customizable template system
- β Reusable Block Patterns β Pre-built components for content editors
Custom Post Type: story
- Title, editor, excerpt, featured image
- Custom fields and revisions support
- Public archive with REST API enabled
- Automatic chapter number detection and formatting
Custom Taxonomies:
audience(non-hierarchical) β Citizen, Content Editor, Leadershiptheme(hierarchical) β Accessibility, Performance, Modernization, Governance- Both fully REST API enabled for headless possibilities
Pre-built block patterns that content editors can use instantly:
| Pattern | Description |
|---|---|
| Chapter Introduction | Hero sections with overline text, large headings, and narrative lede |
| Persona Scene | Two-column layouts featuring user personas with quotes and pain points |
| Impact Metrics | Before/after KPI cards showcasing measurable transformation results |
Smart JavaScript Detection:
- β¨ Automatically extracts chapter numbers from headings (
Chapter 1β shows background "1") - π― Structures personas with quotes, pain points, and narrative
- π Formats metrics with proper typography
- π¬ Styles quotes with elegant borders and emphasis
A narrative-driven homepage experience featuring:
- Chapter 0: Hero β Bold statement with gradient background
- Chapter 1: The Problem β Metrics strip with key indicators
- Chapter 2: The People β Persona cards with real stories
- Chapter 3: The Journey β Timeline of discovery and transformation
- Chapter 4: The System β How the storytelling framework works
- Chapter 5: Impact β Featured stories and query loops
- Chapter 6: CTA β Call to action for engagement
Color Palette:
- Deep space blue backgrounds (
#020b1f) - Primary teal accents (
#1e9fd7) - Warm yellow highlights (
#ffcc4d) - High-contrast text for accessibility
Typography:
- Inter font family for modern, readable text
- Responsive font sizes with clamp() for scalability
- Careful letter-spacing and line-height for optimal readability
Spacing & Layout:
- 120px chapter gaps for dramatic separation
- 1120px max-width shell for comfortable reading
- Consistent spacing scale (XS to XXL)
- β Semantic HTML5 structure
- β ARIA landmarks and labels
- β Keyboard navigation support
- β Screen reader optimizations
- β WCAG 2.1 AA color contrast
- β
prefers-reduced-motionsupport - β High contrast mode compatibility
- β Optimized block markup
Option 1: Manual Upload
- Download or clone this repository
- Upload the
civicsignalsfolder to:wp-content/themes/civicsignals/ - Activate in Appearance β Themes
Option 2: WP-CLI
wp theme install /path/to/civicsignals --activateUpon activation, the theme automatically:
- β
Registers the
storycustom post type - β
Creates
audienceandthemetaxonomies - β Sets up base taxonomy terms
- β Creates demo content (if none exists)
- β Configures navigation menu
Manual Steps:
- Go to Stories β Add New to create your first story
- Assign Audiences and Themes in the right sidebar
- Use block patterns to build your narrative (see Content Editor Workflow below)
- Navigate to Stories β Add New
- Enter a compelling Title (e.g., "Modernizing the Benefits Portal")
- Add an Excerpt β this becomes your hero subtitle
- Upload a Featured Image for visual impact
- Audiences: Who is this story for? (Citizen, Content Editor, Leadership)
- Themes: What topic does it cover? (Accessibility, Performance, Modernization, Governance)
Use the block inserter (+) to add patterns:
For Chapter Headings:
Simply type: "Chapter 1 - The Problem"
JavaScript automatically:
β Extracts the number (1)
β Shows large background "1"
β Formats as proper chapter section
Using Block Patterns:
- Click + (Inserter) β Patterns
- Choose CivicSignals Chapters or CivicSignals Scenes
- Insert patterns like:
- Chapter Introduction β for section headers
- Persona Scene β for user stories
- Impact Metrics β for results
Just write naturally β the JavaScript handles:
- Personas: "Maria β Working Parent" β styled persona card
- Quotes: "I just want..." β elegant quote block
- Pain Points: List after "Pain Points:" β formatted list
- Metrics: "Task Success: 62% β 94%" β metric card
- Click Preview to see the formatted story
- The automatic structuring appears on the frontend
- Publish when ready!
| Technology | Version | Purpose |
|---|---|---|
| WordPress | 6.0+ | Core CMS platform |
| PHP | 7.4+ | Server-side logic |
| Block Editor | Native Gutenberg | Content editing |
| Theme Type | Block Theme (FSE) | Modern theme architecture |
| CSS | Custom Properties | Design tokens |
| JavaScript | Vanilla ES6+ | Interactive features |
No Build Process Required β Pure WordPress, ready to use!
civicsignals/
β
βββ π style.css # Theme metadata & global styles
βββ π functions.php # Theme setup & enqueues
βββ π theme.json # Global design tokens & settings
βββ π README.md # This file
β
βββ π templates/ # Block templates
β βββ index.html # Default template
β βββ front-page.html # Scrollytelling homepage
β βββ single-story.html # Story single page
β
βββ π parts/ # Template parts
β βββ header.html # Site header
β βββ footer.html # Site footer
β
βββ π inc/ # PHP includes
β βββ post-types.php # Story CPT registration
β βββ taxonomies.php # Audience & Theme taxonomies
β βββ block-patterns.php # Pattern registrations
β βββ setup-activate.php # Auto-setup on activation
β
βββ π assets/ # Static assets
βββ js/
βββ cursor-interaction.js # Custom cursor & particles
βββ chapter-numbers.js # Auto-content structuring
Edit theme.json to customize:
{
"settings": {
"color": {
"palette": [
{
"slug": "primary",
"color": "#1e9fd7",
"name": "Primary"
}
// Add your colors...
]
},
"typography": {
"fontFamilies": [
{
"fontFamily": "\"Your Font\", sans-serif",
"slug": "your-font"
}
]
}
}
}All templates are editable via Appearance β Editor:
- Modify block markup directly in the Site Editor
- Changes are saved to database (exportable as template parts)
- Fully visual editing experience
Customize patterns:
- Edit in
inc/block-patterns.phpfor code-level changes - Or modify via Site Editor: Patterns β Manage patterns
β
Modern Architecture β Built with latest WordPress block theme standards
β
Accessibility First β WCAG 2.1 AA compliance throughout
β
Editor-Friendly β Non-technical teams can create beautiful content
β
Maintainable Code β Clean, documented, WordPress-native
β
Performance Optimized β No build process, fast loading
β
Public Sector Ready β Government-appropriate design and functionality
- ποΈ Federal agencies documenting modernization projects
- π Government programs showcasing impact metrics
- π₯ Public sector teams telling citizen-centered stories
- π¨ Agencies needing accessible, beautiful web presence
- π Organizations requiring structured content workflows
Add New Patterns:
// In inc/block-patterns.php
register_block_pattern('civicsignals/your-pattern', [
'title' => 'Your Pattern Name',
'content' => '<!-- wp:group ... -->',
]);Custom Query Filters:
// In functions.php
add_filter('query_loop_block_query_vars', 'your_custom_filter', 10, 2);Template Customization:
- Create new templates in
templates/ - Add template parts in
parts/ - Reference with
wp:template-partblock
This theme demonstrates:
- Understanding of government website requirements
- Custom content modeling for complex needs
- Public sector constraints and opportunities
- Complete narrative framework
- Reusable patterns for content teams
- Scrollytelling homepage design
- Modern Full Site Editing implementation
- Advanced
theme.jsonusage - Block pattern development expertise
- WCAG 2.1 AA standards implementation
- Semantic HTML and ARIA patterns
- Optimized performance strategies
GNU General Public License v2 or later
This theme, like WordPress, is licensed under the GPL. Use it freely, modify it, and share it.
Theme: CivicSignals
Author: Paul Miranda
Purpose: Portfolio demonstration for enterprise WordPress work
Focus Areas: Public Sector, Block Themes, Accessibility, Digital Storytelling
For questions or WordPress development inquiries, reach out to Lone Rock Point.
Built with β€οΈ for public sector digital transformation
Turning modernization journeys into compelling narratives