Skip to content

About

Trial project for Lightspeed dev/design role

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Β 
Β 

Latest commit

Β 

History

327 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧱 LSX Demo Theme

A modern WordPress block theme built with Full Site Editing (FSE) capabilities, enhanced with AI development tools and comprehensive testing. This theme serves as both a learning project and production-ready WordPress block theme template.

WordPress Block Theme Node.js Testing

πŸš€ Quick Start

# Clone the repository
git clone https://github.com/lightspeedwp/lsx-demo-theme.git
cd lsx-demo-theme

# Install dependencies
npm install
composer install  # Optional, for PHP linting

# Start development
npm start

# Run tests
npm test

πŸ“– Full Development Setup Guide β†’

🎯 Project Overview

Built for Modern WordPress Development

Full Site Editing (FSE) with comprehensive theme.json configuration Block patterns and template parts for rapid development AI-enhanced development with GitHub Copilot integration Comprehensive testing with Playwright and accessibility checks WordPress coding standards enforcement via automated linting Performance optimized for Core Web Vitals Fish Species Demo Content with comprehensive CPT implementation SEO & Accessibility Optimized - WCAG 2.2 AA compliant with comprehensive SEO

🎣 Brandon's Fishing Adventures Demo

This theme showcases a complete fishing adventure website featuring:

  • Fish Species Guide: Custom post type with detailed species profiles
  • Conservation Focus: Protected species information and sustainable fishing practices
  • Blog Integration: Fishing stories and educational content
  • Rich Structured Data: Schema.org implementation for enhanced search results
  • Internal Linking: Automatic cross-linking between species and related content

✨ Technical Highlights

  • πŸ” SEO Excellence: Comprehensive meta tags, XML sitemaps, structured data
  • β™Ώ Accessibility: WCAG 2.2 AA compliant with zero axe-core violations
  • ⚑ Performance: Core Web Vitals optimized with lazy loading and resource hints
  • πŸ§ͺ Testing: Automated accessibility and performance testing with Playwright
  • πŸ“± Responsive: Mobile-first design with progressive enhancement

Demo Content Features

This theme includes a fully implemented Fish Custom Post Type with demo content showcasing Brandon's fishing adventures in KwaZulu-Natal:

  • 🐟 Fish Species CPT with 10 comprehensive fish profiles
  • πŸ“ Blog Posts covering fishing tips, conservation, and adventures
  • πŸ—‚οΈ Taxonomies for species categories and fishing locations
  • πŸ“ž Contact Page with fishing-specific FAQ section
  • πŸ–ΌοΈ Placeholder Assets ready for actual fish photography

Demo Content Import:

  • Automatically imports on theme activation
  • Includes taxonomies, meta fields, and proper i18n
  • Manual import available for testing: /wp-admin/?import_demo=1

Based on WordPress Twenty Twenty-Five

This theme extends the WordPress Twenty Twenty-Five theme with:

LSX Design System integration with contemporary styling Custom color palette and typography (Lexend & Manrope fonts) Accessibility-first approach (WCAG 2.1 AA compliance) Performance optimization and modern build tools

πŸ› οΈ Technology Stack

Core Technologies

WordPress 6.0+ with Full Site Editing (FSE) Node.js 18+ and npm for build tooling @wordpress/scripts for development workflow Sass/SCSS for stylesheets with PostCSS processing Playwright for end-to-end and accessibility testing

Development Tools

VS Code with WordPress-optimized configuration GitHub Copilot with AI-enhanced development WordPress Studio or LocalWP for local development Figma with LSX Design System

AI Development Features

150+ Specialized Assets for WordPress development GitHub Copilot Integration with WordPress-specific context Automated Code Review with WordPress standards enforcement AI Agents for accessibility, performance, and security auditing

πŸ—οΈ Theme Architecture

β”œβ”€β”€ πŸ“ .github/              # AI development assets & workflows
β”‚   β”œβ”€β”€ agents/             # Specialized AI agents (accessibility, performance, etc.)
β”‚   β”œβ”€β”€ chatmodes/          # Extended AI workflows (pattern wizard, test coach)
β”‚   β”œβ”€β”€ instructions/       # Auto-applied coding standards & best practices
β”‚   β”œβ”€β”€ prompts/            # Reusable development task templates
β”‚   β”œβ”€β”€ workflows/          # CI/CD automation
β”‚   └── FUNDING.yml         # Funding configuration (see below)
β”œβ”€β”€ πŸ“ .vscode/              # VS Code configuration with AI enhancements
β”‚   β”œβ”€β”€ agent.json          # WordPress block theme AI assistant
β”‚   β”œβ”€β”€ configuration.md    # Development guidelines for Copilot
β”‚   β”œβ”€β”€ extensions.json     # WordPress development extensions
β”‚   └── settings.json       # WordPress-optimized editor settings
β”œβ”€β”€ πŸ“ patterns/            # Block patterns for content creation
β”œβ”€β”€ πŸ“ parts/               # Template parts (header, footer, etc.)
β”œβ”€β”€ πŸ“ templates/           # Block templates for FSE
β”œβ”€β”€ πŸ“ styles/              # Theme style variations
β”œβ”€β”€ πŸ“ e2e/                 # Playwright end-to-end tests
β”œβ”€β”€ πŸ“ src/                 # Source files (SCSS, JS)
β”œβ”€β”€ .all-contributorsrc     # Contributor configuration (see below)
β”œβ”€β”€ SECURITY.md             # Security policy and reporting
β”œβ”€β”€ CONTRIBUTING.md         # Contribution guidelines
β”œβ”€β”€ CODE_OF_CONDUCT.md      # Community standards
β”œβ”€β”€ CHANGELOG.md            # Release history
β”œβ”€β”€ LICENSE                 # Project license
β”œβ”€β”€ SUPPORT.md              # Support policy

πŸ“ Changelog

See CHANGELOG.md for a complete release history and notable changes.

🀝 Contributing & Support

Contributors

This project recognizes contributors from the LightSpeed organization and key external contributors. See .all-contributorsrc for configuration.

Current Contributors

Contributors

Funding

Support professional WordPress block theme development and open source contributions by LightSpeed.

See .github/FUNDING.yml for full funding configuration.

For Contributors

  1. Fork the repository and create a feature branch
  2. Follow WordPress coding standards (automated linting enforced)
  3. Write tests for new functionality (Playwright for E2E, unit tests for PHP)
  4. Update documentation for any new features or changes
  5. Submit a pull request with clear description and issue references

Getting Help

  • πŸ“– Documentation: Check DEVELOPMENT.md for technical setup
  • πŸ€– AI Assistance: Use GitHub Copilot with enhanced WordPress context
  • πŸ“‹ Issues: Create GitHub issues for bugs or feature requests
  • πŸ’¬ Community: WordPress.org forums and Slack communities
  • πŸŽ“ Learning: Review /docs for curriculum and resources

Issue Templates

Use the provided issue templates in .github/ISSUE_TEMPLATE/:

  • πŸ› Bug Report - Report functionality issues
  • ✨ Feature Request - Suggest new features
  • πŸ“– Documentation - Request or improve documentation
  • ⚑ Performance - Report performance issues
  • β™Ώ Accessibility - Report accessibility concerns

Key Documentation & Policies

πŸ“„ License & Credits

  • License: GPL-3.0-or-later (see LICENSE)
  • Base Theme: Twenty Twenty-Five by WordPress.org
  • Design System: LSX Design System by LightSpeed
  • Typography: Lexend and Manrope from Google Fonts
  • Testing: Powered by Playwright

Built with ❀️ for the WordPress community

About

Trial project for Lightspeed dev/design role

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages