Block Patterns
BuddyX Pro includes 60+ pre-designed block patterns for quickly building pages.
Overview
Block patterns are pre-built layouts that can be inserted into any page or post using the WordPress block editor. BuddyX Pro includes patterns for:
- BuddyPress community features
- Full page templates
- Hero sections
- Feature showcases
- Testimonials
- Call-to-action sections
- And more
Using Block Patterns
Inserting a Pattern
- Open a page or post in the block editor
- Click the + button to add a block
- Select the Patterns tab
- Browse categories or search
- Click a pattern to insert it
Finding BuddyX Patterns
Look for these categories:
- BuddyX BuddyPress – Community patterns
- BuddyX Templates – Full page layouts
- BuddyX Community – Social features
- BuddyX LMS – Learning patterns
- BuddyX WooCommerce – E-commerce patterns
- BuddyX Dark Mode – Dark themed patterns
BuddyPress Patterns (14)
Patterns for building community pages:
| Pattern | Description |
|---|
| Active Members | Grid of recently active members |
| Activity Feed | Latest activity stream display |
| Community Hero | Hero section for community pages |
| Community Sidebar | Sidebar with community widgets |
| Community Stats | Member and group statistics |
| Groups List | Grid of available groups |
| Login Widget | Login/register form pattern |
| Member Testimonials | Member quotes and reviews |
| Members List | Directory of members |
| Newest Groups | Recently created groups |
| Newest Members | New member showcase |
| Online Members | Currently active users |
| Sitewide Notice | Announcement banner |
| Why Join Us | Community benefits section |
General Patterns (25)
Versatile patterns for any page:
Hero Sections (5)
| Pattern | Description |
|---|
| Hero Centered | Centered headline with CTA buttons |
| Hero Gradient | Gradient background hero |
| Hero Minimal | Clean, simple hero |
| Hero Split | Image on one side, content on other |
| Hero Video | Video background hero |
Feature Sections (5)
| Pattern | Description |
|---|
| Features Alternating | Left/right alternating layout |
| Features Cards | Card-based feature display |
| Features Grid 3-Col | Three column feature grid |
| Features Grid 4-Col | Four column feature grid |
| Features Icons | Icon-focused feature list |
Call to Action (4)
| Pattern | Description |
|---|
| CTA Gradient | Gradient background CTA |
| CTA Newsletter | Email signup CTA |
| CTA Simple | Clean, minimal CTA |
| CTA Split | Two-column CTA layout |
Testimonials (4)
| Pattern | Description |
|---|
| Testimonials Cards | Card-based testimonials |
| Testimonials Grid | Grid layout testimonials |
| Testimonials Minimal | Simple quote display |
| Testimonials Single | Featured single testimonial |
Content Sections (4)
| Pattern | Description |
|---|
| Content About | About section layout |
| Content FAQ | Frequently asked questions |
| Content Pricing | Pricing table display |
| Content Stats | Statistics/numbers display |
Headers & Footers (3)
| Pattern | Description |
|---|
| Page Header | Page title with breadcrumbs |
| Section Header | Section title with description |
| Footer Links | Multi-column footer links |
| Footer Simple | Minimal footer design |
Template Patterns (21)
Complete page layouts ready to use:
Homepage Templates (3)
| Pattern | Description |
|---|
| Homepage Community | Community-focused homepage |
| Homepage Courses | LMS/courses homepage |
| Homepage Marketplace | E-commerce homepage |
Standard Pages (12)
| Pattern | Description |
|---|
| About Page | Company/site about page |
| About Team | Team members showcase |
| Blog Page | Blog listing layout |
| Contact Page | Full contact page |
| Contact Simple | Minimal contact form |
| Event Page | Event listings page |
| FAQ Page | Frequently asked questions |
| Portfolio Page | Project showcase |
| Pricing Page | Pricing tiers display |
| Services Page | Services showcase |
| Team Page | Team members grid |
| Landing Page | Marketing landing page |
Utility Pages (4)
| Pattern | Description |
|---|
| 404 Page | Not found page |
| Coming Soon | Pre-launch page |
| Maintenance | Site maintenance page |
| Privacy Policy | Privacy policy template |
| Terms of Service | Terms & conditions |
Pattern Categories Reference
| Category Slug | Label | Description |
|---|
buddyx-buddypress | BuddyX BuddyPress | BuddyPress patterns |
buddyx-lms | BuddyX LMS | Learning patterns |
buddyx-woocommerce | BuddyX WooCommerce | E-commerce patterns |
buddyx-dark | BuddyX Dark Mode | Dark themed patterns |
buddyx-templates | BuddyX Templates | Full page templates |
buddyx-community | BuddyX Community | Community patterns |
Customizing Patterns
After Insertion
Once inserted, patterns are regular blocks:
- Edit any text by clicking and typing
- Change colors in block settings
- Swap images using the media library
- Adjust spacing and alignment
- Delete unwanted blocks
Creating Reusable Blocks
Save customized patterns for reuse:
- Select the blocks you want to save
- Click the three-dot menu
- Select Create pattern
- Name your pattern
- Choose whether to sync it
Dependencies
Some patterns require plugins:
| Pattern Category | Required Plugin |
|---|
| BuddyPress patterns | BuddyPress |
| LMS patterns | LearnDash/LearnPress |
| WooCommerce patterns | WooCommerce |
Patterns will still appear but may not function fully without dependencies.
Developer Information
Pattern File Structure
patterns/
├── buddypress/ # BuddyPress patterns
├── general/ # General use patterns
└── templates/ # Full page templates
Pattern Header Format
<?php
/**
* Title: Pattern Name
* Slug: buddyx-pro/pattern-slug
* Categories: buddyx-community, featured
* Keywords: keyword1, keyword2
* Description: Pattern description.
* Viewport Width: 1400
* Inserter: true
*/
?>
Registration
Patterns are auto-registered via the Block_Patterns\Component class on init hook (priority 11).
Related Documentation