imagewize / callandor
Pattern library for Sage 11 hybrid themes with Tailwind CSS and theme.json support
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:wordpress-plugin
pkg:composer/imagewize/callandor
Requires
- php: >=8.2
- composer/installers: ^1.0 || ^2.0
Requires (Dev)
- phpstan/phpstan: ^1.0
- squizlabs/php_codesniffer: ^3.7
- wp-coding-standards/wpcs: ^3.0
- dev-main
- v1.0.0
- v1.0.0-beta.12
- v1.0.0-beta.11
- v1.0.0-beta.10
- v1.0.0-beta.9
- v1.0.0-beta.8
- v1.0.0-beta.7
- v1.0.0-beta.6
- v1.0.0-beta.5
- v1.0.0-beta.4
- v1.0.0-beta.3
- v1.0.0-beta.2
- v1.0.0-beta.1
- dev-version-1
- dev-hero-with-cta-patch-v3
- dev-hero-w-cta-improvements
- dev-patterns-patch-v2
- dev-fix/constrained-layout-conflict
- dev-patterns-images-patch
- dev-hero-two-tone
- dev-contact-and-team-patterns
This package is auto-updated.
Last update: 2025-10-29 09:27:52 UTC
README
Callandor
Pattern library for non-block and hybrid themes with Tailwind CSS and theme.json support
Callandor is a WordPress block pattern library plugin specifically designed for non-block and hybrid themes (like Sage 11). Build beautiful, business-focused pages faster with professionally designed patterns that seamlessly integrate with your theme's design system.
Note for Block Theme Users: If you're using a full block theme (FSE theme), you don't need this plugin. Block themes can load patterns directly from the theme's
patterns/directory without requiring PHP registration. This plugin is specifically for classic themes, hybrid themes, and any theme that cannot load patterns natively.
Features
- Theme Integration: Seamlessly integrates with theme.json colors, typography, and spacing
- Tailwind CSS: Built with Tailwind utility classes for modern, responsive designs
- 9 Professional Patterns: Ready-to-use patterns for hero sections, features, CTAs, testimonials, pricing, team, and contact sections
- Pattern Caching: Optimized performance with 24-hour transient caching for faster page loads
- Business-Focused: Designed for SME businesses with focus on conversions and ROI
- Easy Management: Simple admin interface to browse and manage patterns with cache control
- Fully Responsive: Mobile-first designs that look great on all devices
- Developer Friendly: Clean code following WordPress standards with full Composer support
Available Patterns
The plugin includes these professionally-designed patterns (all using WordPress native blocks with theme.json integration):
Hero Sections
- Hero Section with Call to Action - Classic hero with headline, description, and prominent CTA button on colored background
- Hero Two-Tone - Modern hero with two-tone heading, dual CTA buttons, and image in responsive two-column layout
Features & Services
- 3-Column Feature Grid - Showcase services with icon placeholders, headings, and descriptions in clean grid layout
Call-to-Actions
- Newsletter Signup CTA - Email capture with heading, description, and email input form on accent background
Social Proof
- Client Testimonial Cards - Professional testimonial display with quote, author name, and company in card format
- Client Reviews - Orange Background - Vibrant testimonial section with three reviews on bold orange background with profile images
E-Commerce & Pricing
- 3-Column Pricing Table - Service package comparison with features list, pricing, and CTA buttons
Team & About
- Team Member Grid - Professional team profiles with photos, names, roles, and bios in 3-column layout
Contact & Info
- Contact Information Section - Office hours, contact details, and physical address in organized 3-column card layout
All patterns are fully responsive, use theme.json design tokens, and integrate seamlessly with WordPress's native block editor.
Requirements
- WordPress 6.6+
- PHP 8.2+
- Non-block or hybrid theme (classic themes, Sage 11, or any theme without native pattern support)
- Gutenberg block editor
- theme.json support (recommended for optimal styling)
Not Required For:
- Full block themes (FSE themes) - they have built-in pattern support
Installation
Via Composer (Recommended for Bedrock)
composer require imagewize/callandor
Manual Installation
- Download the latest release
- Upload to
/wp-content/plugins/callandor - Activate through WordPress admin
- Go to Appearance → Callandor Patterns
Development Installation
cd wp-content/plugins git clone https://github.com/imagewize/callandor.git cd callandor composer install --dev
Usage
Inserting Patterns
- Open the WordPress block editor
- Click the + button to add a block
- Navigate to the Patterns tab
- Find patterns under Callandor categories (Hero Sections, Features, etc.)
- Click to insert and customize
Admin Interface
Access the pattern management interface:
- Navigate to Appearance → Callandor Patterns
- View all available patterns organized by category
- See pattern metadata and slugs
- Clear pattern cache for development workflow
- Configure plugin settings (license key for Phase 2)
Theme Integration
Patterns automatically use your theme's design tokens from theme.json:
Colors:
primary- Brand colorprimary-accent- Brand accentbase- Background colormain- Text color- Additional semantic colors
Typography:
- Font families from theme.json
- Font sizes (xs through 9xl)
- Consistent spacing scale
Development
Project Structure
callandor/
├── callandor.php # Main plugin file
├── composer.json # Composer configuration
├── includes/ # PHP classes
│ ├── class-pattern-loader.php # Pattern registration
│ └── class-admin-settings.php # Admin interface
├── patterns/ # Pattern files
│ ├── hero/
│ ├── cta/
│ ├── features/
│ ├── testimonials/
│ └── pricing/
├── assets/ # CSS/JS assets
│ ├── css/admin.css
│ └── js/admin.js
└── docs/
└── PLUGIN_SPEC.md # Build specification
Creating Custom Patterns
Create a new PHP file in the appropriate patterns/ subdirectory:
<?php /** * Pattern: Your Pattern Name * Category: hero */ return array( 'title' => __( 'Your Pattern Title', 'callandor' ), 'description' => __( 'Pattern description', 'callandor' ), 'categories' => array( 'hero' ), 'keywords' => array( 'hero', 'header', 'landing' ), 'viewportWidth' => 1200, 'content' => '<!-- wp:group --> <!-- Your block markup here --> <!-- /wp:group -->', );
Coding Standards
This project follows WordPress Coding Standards (WPCS):
# Check coding standards composer phpcs # Fix coding standards automatically composer phpcbf # Run static analysis composer phpstan
Theme Compatibility
Why This Plugin Exists
Block themes (FSE themes) can register patterns directly in their patterns/ directory without needing PHP. However, non-block themes, classic themes, and hybrid themes (like Sage 11) require patterns to be registered via PHP using register_block_pattern(). This plugin provides that registration layer.
Designed For
Nynaeve Theme (Primary Target)
- Built specifically for Nynaeve with full integration
- All theme.json colors and fonts
- Tailwind utility classes
- Responsive spacing system
Moiraine Theme (Future)
- Planned compatibility (same architecture as Nynaeve)
Other Non-Block/Hybrid Themes
- Works with any classic or hybrid theme using:
- WordPress block editor (Gutenberg)
- theme.json configuration (for optimal styling)
- Modern WordPress features
Visual results may vary based on your theme's styling and design tokens.
Not Compatible With
Full Block Themes (FSE Themes)
- Block themes don't need this plugin
- They load patterns natively from the theme's
patterns/directory - Examples: Twenty Twenty-Four, Twenty Twenty-Three, etc.
Roadmap
Phase 1 (Current - v1.0.0-beta.7)
- ✅ Local pattern library
- ✅ Theme.json integration
- ✅ Admin interface
- ✅ 8 professional patterns (Hero, Features, CTA, Testimonials, Pricing, Team, Contact)
- ✅ Composer support
- ✅ WordPress Coding Standards compliance
- ✅ WordPress.org plugin repository ready
Phase 2 (Planned)
- Premium pattern library
- License key system
- Remote pattern updates
- Pattern caching
- Additional categories
Future
- Pattern variations
- Custom pattern builder
- Import/export functionality
- Multi-language support
- Advanced filtering
Contributing
We welcome contributions! Here's how you can help:
- Report Bugs: Open an issue
- Suggest Features: Start a discussion
- Submit Patterns: Fork, create, and submit a pull request
- Improve Docs: Help us improve documentation
Development Setup
git clone https://github.com/imagewize/callandor.git
cd callandor
composer install
Pull Request Process
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-pattern) - Commit your changes (
git commit -m 'Add amazing pattern') - Push to branch (
git push origin feature/amazing-pattern) - Open a Pull Request
Support
- Documentation: GitHub Wiki
- Issues: GitHub Issues
- Discussions: GitHub Discussions
License
This project is licensed under the MIT License - see the LICENSE file for details.
Credits
- Author: Jasper Frumau
- Company: Imagewize
- Built for: Sage 11 by Roots.io
- Inspired by: Modern block pattern libraries like Spectra
- Logo: Sparkle icon from Blade UI Kit (Untitled UI Star 04)
Image Credits
Pattern placeholder images are sourced from Unsplash under the Unsplash License:
- Hero background: Photo by Casey Horner
- Team member 1: Photo by LinkedIn Sales Solutions
- Team member 2: Photo by Christina @ wocintechchat.com
- Team member 3: Photo by Megan Watson
All images are used for demonstration purposes and can be easily replaced with your own images when using the patterns.
Changelog
See CHANGELOG.md for detailed version history.
Made with ❤️ for the WordPress community