The WP Rig team is absolutely thrilled to share a massive announcement with our developer community: WP Rig has been officially selected to be featured at WordCamp US 2026 in Phoenix, Arizona!
This is an incredible milestone for our project. Our mission has always been to elevate the standards of WordPress theme engineering and give developers the ultimate, high-performance toolkit to build modern websites. Having our architecture and workflows highlighted on the main stage at WordCamp US 2026 is a testament to the power of our growing community.
In this post, we’ll dive into what this milestone means for WP Rig, break down what you will learn in Rob’s interactive workshop, and share how you can attend in person or tune in online to support the movement.
The Vision: Democratizing the Theme Directory
For years, submitting a custom theme to the official WordPress.org Theme Directory has been considered a daunting, time-consuming challenge. The official WordPress Theme Review Team maintains incredibly strict quality, accessibility, security, and structural Theme Review Guidelines. For many independent developers and agencies, navigating the feedback loop of reviews and revisions has felt like an insurmountable barrier to entry.
At the same time, the transition from traditional classic templates to the block editor, theme.json configuration, and Full Site Editing (FSE) has created a significant learning curve.
Our WordCamp US 2026 workshop is designed to smash those barriers down. By combining WP Rig’s performance-focused Object-Oriented Programming (OOP) PHP architecture with the power of AI-native engineering (agentic workflows), Rob Ruiz will demonstrate how any developer can build, test, and submit directory-ready, block-enabled WordPress themes with absolute confidence.
We want to show the WordPress community that high-quality, block-ready theme development is accessible to everyone—and WP Rig is the platform that makes it happen.
What to Expect: A Hands-on, Immersive Workshop
Unlike traditional slide-heavy presentations, this is an interactive, hands-on workshop. You won’t just be listening; you’ll be active in your terminal, writing code, executing automated tests, and collaborating with AI coding agents in real-time.
Here are the key technical pillars that Rob will guide participants through:
1. Blazing-Fast Compilation & Modern Tooling
Attendees will experience the true power of WP Rig’s modernized build pipeline. We will configure and leverage Bun and Lightning CSS to achieve near-instant feedback loops. Say goodbye to heavy Webpack bloat and slow compiler wait times—you will learn how to keep your development in a flow state using our Vite-like Modern Dev Server.
2. AI-Native Development & Agentic Workflows
As developers increasingly lean on AI coding assistants (like GitHub Copilot, Claude, or ChatGPT), we need codebases that minimize model “hallucinations.” Rob will demonstrate why WP Rig’s strict OOP structure, namespaces, and PSR-4 compliant autoloading make it the ultimate playground for AI-assisted coding. You will learn how to write structured prompts and leverage custom AI instructions (llms.txt) to have AI write block-ready code that integrates perfectly into WP Rig.
We will dive deep into Gutenberg block engineering. You will learn how to scaffold theme-scoped Gutenberg blocks directly inside your theme:
npmrunblock:newmy-custom-block
We will also highlight the cutting-edge WordPress 7.0 PHP-only block architecture, showing how you can leverage a build-free custom block model (--architecture php) with auto-registering schemas. Finally, we’ll demonstrate how to easily promote theme blocks to standalone plugins with a single command to ensure strict compliance with WordPress.org Theme review guidelines.
4. Eliminating the Review Loop with Automated QA
You will learn how to run WP Rig’s pre-configured automated testing suite locally:
If you are attending WordCamp US 2026 in Phoenix and plan to participate in Rob’s session, we want you to be fully prepared to code alongside us.
To get the absolute most out of the hands-on exercises, we highly recommend bringing a laptop with the following pre-installed:
Local WordPress Environment: A local server environment such as LocalWP or WordPress Studio.
NodeJS or Bun: A local installation of Node.js (version 20 or higher) or Bun.
Composer: For running PHP packages and dependencies via Composer.
A Clean Copy of WP Rig: Clone the official WP Rig GitHub Repository locally so you are ready to boot up your terminal on day one.
No advanced block-building experience is required! If you have a foundational knowledge of PHP, CSS, and basic terminal commands, you are perfectly equipped to succeed in this session.
Join Us in Phoenix or Tune in Online!
WordCamp US 2026 is shaping up to be an extraordinary gathering of minds in Phoenix, Arizona. It is the ultimate place to connect with other developers, share ideas, and witness the future of the WordPress project.
Attending in Person?
If you are buying WordCamp US 2026 tickets and making the trip to Phoenix, we would love to meet you! Be sure to add “Democratizing the Theme Directory: Building Block-Ready Themes with WP Rig & AI” to your custom session schedule. Come early to secure a seat, bring your laptop, and make sure to stop by and say hello to Rob Ruiz after the session. We love connecting with our users and hearing about the incredible custom sites you are building with WP Rig.
Tuning in Remotely?
If you can’t make the trip to Arizona, you don’t have to miss out on the excitement. WordCamp US live-streams session tracks globally. We will be sharing streaming links, real-time slides, and workshop resources across our social channels and right here on our blog as the event approaches.
Help Us Spread the Word!
We want to raise massive awareness about WP Rig and show the broader WordPress community that modern, high-performance, and standards-compliant theme engineering is within reach for every developer.
You can support the project today by:
Starring our GitHub Repository: Show your love and help other developers discover our GitHub repository.
Sharing the News: Post about our WordCamp US session on X/Twitter, LinkedIn, and in your developer Slack groups.
Telling a Peer: Let your developer friends and agency colleagues know that they can build better child and parent themes faster with WP Rig.
We are incredibly grateful for your continued support, contributions, and enthusiasm. We can’t wait to represent the WP Rig community in Phoenix and help democratize WordPress theme development for everyone.
In the rapidly evolving world of WordPress theme development, finding a workflow that balances high-performance output, clean architecture, and modern developer convenience is a constant struggle. For years, developers were forced to choose between bloated, monolithic starter themes or spend dozens of hours bootstrapping their own modern build configurations with Gulp, Webpack, or Sass.
Enter WP Rig.
WP Rig is not just another starter theme—it is a modern, highly opinionated, and performance-optimized theme engineering platform. If you want to build custom, directory-ready WordPress themes that load instantly, ace Google’s Core Web Vitals, and leverage modern tooling like Bun, esbuild, and Lightning CSS, WP Rig is the definitive choice.
In this deep-dive guide, we break down the top 10 reasons to use WP Rig for your next custom WordPress theme development project, drawing directly from its advanced architecture, workflow specifications, and automated tooling.
1. The “A La Carte” Component Architecture (Goodbye, Bloated functions.php)
Historically, WordPress starter themes have relied on a massive, chaotic functions.php file or unorganized helper files to bootstrap theme functionality. This classic procedural design makes themes highly fragile, difficult to maintain, and packed with bloated code that developers must manually strip out.
WP Rig v3.4 completely reimagines theme PHP architecture using a strict, modular Object-Oriented Programming (OOP) model. Under the hood, WP Rig organizes features into self-contained Components located under the inc/ directory. Each feature (such as custom backgrounds, nav menus, or post thumbnails) is encapsulated in a dedicated class that implements a standardized Component_Interface.
wprig/inc/├──Theme.php# Main theme bootstrap class├──Component_Interface.php# Standard contract for components├──{Feature_Directory}/│└──Component.php# Implements Component_Interface
To take this modularity to the next level, WP Rig features the Open Component Registry (OCR). Instead of manually writing boilerplate, you can discover, add, and manage performance-optimized components dynamically from the command line:
npm run rig:list – Inspect all active and installed theme components.
npm run rig:search [keyword] – Discover bolt-on, community-built components.
npm run rig:add [slug] – Download and inject a component directly into your theme.
npm run rig:remove [slug] – Completely prune a component and its assets with zero residue.
Private Component Registries for Agencies
For agency environments, this modularity is incredibly powerful. Beyond the public registry, development teams can set up and configure private component registries. This allows agencies to package, version, and distribute their own vetted, proprietary internal components (such as specialized API integrations, custom block layouts, or customizer setups) securely across all of their client sites. You achieve maximum code reuse without exposing sensitive intellectual property to the public.
2. A Blazing-Fast, Vite-Like Modern Compilation Pipeline
Legacy WordPress theme compilation can feel incredibly sluggish. WP Rig has completely redesigned the asset build pipeline to deliver a blazing-fast local developer experience that rivals modern front-end build systems like Vite.
WP Rig utilizes cutting-edge, high-performance engines to process source assets in milliseconds:
Bun or Node.js drive the high-speed task runners.
esbuild compiles and minifies TypeScript and ESNext JavaScript (assets/js/src/) in milliseconds.
Lightning CSS parses, imports, and minifies stylesheets with remarkable efficiency.
For active development, WP Rig introduces an opt-in Modern Dev Server (npm run dev:modern) that replaces legacy, heavy compilers. Operating much like a Vite dev server, this lightweight proxy listens on custom ports, injects styles on-the-fly directly into the browser without full page reloads, and refreshes templates instantaneously. This gives you desktop-app-like compilation speeds specifically tuned for local WordPress environments, keeping you in a flow state rather than waiting on your terminal.
3. AI-Optimized Coding Companions
Artificial intelligence is changing how we write code. However, typical legacy WordPress code—with its procedural style, global variables, and lack of typing—is notorious for causing AI model “hallucinations” in tools like ChatGPT, Claude, and GitHub Copilot.
WP Rig is engineered from the ground up to be AI-friendly. It provides highly structured, predictable architecture that LLMs can read and understand perfectly. Key design choices that optimize WP Rig for AI-driven workflows include:
Strict Namespacing: All theme PHP classes operate under the WP_Rig\WP_Rig root namespace, avoiding global scope pollution.
Autoloading (PSR-4): Sibling classes map strictly to the directory layout, making it easy for AI agents to locate dependencies.
Type Hinting: Extensive use of parameter and return type hints makes code self-documenting and structurally predictable.
Integrated LLM Mapping: WP Rig includes a structured .ai/ directory and llms.txt configurations, mapping architectural guidelines so custom AI assistants can immediately grasp local theme conventions and write registry-ready components with near-zero errors.
When your AI assistant understands the codebase, your development velocity skyrockets.
4. Built-in Performance Architecture for Core Web Vitals
Slow page speeds destroy conversions and harm search engine rankings. In WP Rig, maximum performance is built right into the framework’s core files. The platform utilizes three advanced strategies to ensure your custom themes score a perfect 100 on Google Lighthouse:
A. Progressive Loading of CSS
Standard themes bundle all styles into a single, massive stylesheet. WP Rig utilizes progressive CSS loading using in-body tags.
While global.css contains baseline layouts and is loaded in the <head>, other component-specific stylesheets (like comments.css, sidebar.css, and widgets.css) are registered in inc/Styles/Component.php and loaded conditionally only when that specific module is present in the current viewport:
Developers can print these styles dynamically in template partials using:
wp_rig()->print_styles('wp-rig-comments');
This significantly reduces the initial page payload, leverages HTTP/2 multiplexing, and optimizes browser parsing times.
B. Cookie-Based Critical CSS Inlining
To deliver an instantaneous First Contentful Paint (FCP), WP Rig features an intelligent cookie-based critical CSS strategy:
First-time visitors receive critical above-the-fold CSS inlined directly into the HTML <head>.
Once loaded, WP Rig sets a wprig_critical_cached cookie in the user’s browser.
On subsequent visits, the theme detects this cookie and enqueues the styles as standard, cached external files, preventing redundant HTML bloat.
C. Localized Font Optimization
To eliminate layout shifts (CLS) and Flash of Unstyled Text (FOUT), WP Rig downloads and localizes Google Fonts to the assets/fonts/ directory. The theme automatically preloads these local font assets via <link rel="preload"> and defaults them to font-display: block or swap, ensuring fonts are rendered seamlessly before rendering text.
5. Native Block and Full Site Editing (FSE) Integration (With Directory-Ready Safeguards)
Transitioning to modern WordPress Gutenberg and block-based architecture can be highly complex. WP Rig acts as the perfect bridge, supporting both classic theme files and cutting-edge Full Site Editing (FSE) standards.
Key Gutenberg-ready features in WP Rig include:
theme.json Configuration: Seamlessly propagates design tokens, custom colors, spacing systems, and typography directly to the WordPress block editor and Global Styles.
Theme-Scoped Gutenberg Blocks: Scaffold custom block directories directly inside the theme directory (assets/blocks/<slug>/) instead of spinning up heavy standalone plugins. npm run block:new my-custom-block — –title=”My Custom Block”
PHP-Only Blocks (WordPress 7.0 Ready): WP Rig supports zero-build block development. By utilizing the --architecture php flag: npm run block:new my-php-block -- --architecture php WP Rig scaffolds a schema-compliant, auto-registering block.json and a simple PHP render.php template. This bypasses React build overhead entirely, making simple blocks incredibly fast to construct.
Automatic Block Registration: The block component at inc/Blocks/Component.php dynamically scans the assets/blocks/ directory on init and registers every discovered block automatically. No manual PHP bootstrapping required!
Omission & Promotion Rules for the WordPress.org Directory
If you are authoring a theme for the official WordPress.org Theme Directory, you are likely aware of their strict theme review guidelines regarding custom blocks: block registration is generally considered “plugin territory” and is prohibited inside themes. WP Rig handles this limitation beautifully. You can easily build, test, and preview custom theme-scoped blocks during local development, and when preparing for directory submission, you can cleanly promote them to standalone plugins with a single command:
npmrunblock:promote-pluginmy-custom-block
This isolates the block files and bundles them into a separate, installable plugin, keeping your theme completely compliant with official review guidelines while preserving block development convenience.
Submitting a custom theme to the official WordPress.org Theme Directory or delivering highly robust code to an enterprise client can be a grueling process of debugging and revision. WP Rig removes this friction by building advanced Quality Assurance (QA) tools directly into the theme itself.
With a single terminal command:
npmrunai:check
WP Rig executes an automated battery of tests and static analysis:
PHPStan Static Analysis: Validates your PHP code, checks type safety, enforces strict parameter returns, and captures potential bugs before runtime.
PHP Code Sniffer (PHPCS): Audits your source files against the strict rulesets of the official WordPress Coding Standards (WPCS) and WordPress.org Theme Review guidelines.
Playwright End-to-End (E2E) Testing: Launches automated browsers to execute smoke tests, verify navigation, and run visual regression audits using screenshots (npm run test:e2e:screenshot).
Automated Accessibility Auditing: Playwright leverages axe-core to perform automated WCAG accessibility audits on critical templates (like 404 and archive pages) to ensure compliant HTML output.
This robust QA pipeline ensures that your custom theme is completely secure, bug-free, and directory-ready from day one.
7. Secure Bundling and Enterprise-Grade CI/CD Pipelines
Modern development and deployment demand a higher standard of security and automation. WP Rig addresses these needs by integrating precise packaging filters and robust compatibility with Continuous Integration / Continuous Deployment (CI/CD) pipelines.
Granular Export and Bundle Control
When preparing a theme for production, you want to guarantee that local developer configurations, raw assets, and internal documentation do not make their way to the production server. Under the "export" block in ./config/config.json, WP Rig provides complete control over the bundling process.
By default, the theme bundler automatically excludes sensitive developer assets—such as .env files, API keys, the .git directory, node_modules, standard Markdown files, and raw source assets—copying only your compiled public files and production-ready templates. This ensures your final .zip file is perfectly unbloated and entirely secure.
Automated Deployment Pipelines
WP Rig is engineered to act as a key player inside enterprise deployment pipelines (such as GitHub Actions, GitLab CI, or Bitbucket Pipelines). In a standard CI/CD workflow, you can automate:
Dependency Installation & Building: Let the pipeline spin up the clean build task (npm run build) to generate compiled production scripts and stylesheets.
Automated QA Verification: Run automated linting (npm run lint), PHPStan analysis, and Playwright headless browser tests to ensure zero code regressions.
Clean Artifact Generation: Package the production-ready theme with npm run bundle and securely deploy the lightweight archive directly to your staging or production servers.
8. Future-Proof CSS Workflows via Lightning CSS (Forget Sass)
For years, CSS pre-processors like Sass or LESS were mandatory to write maintainable styles. However, compiling heavy pre-processors adds significant build bloat and compiles duplicated selectors that increase final bundle sizes.
Modern CSS has evolved, and WP Rig embraces it directly. Moving away from pre-processors and intermediate parsers like PostCSS, WP Rig processes styles entirely using Lightning CSS to compile clean, native, future-proof markup today:
Custom Properties (Variables): Declare variables globally in assets/css/src/_custom-properties.css under the :root selector and reference them dynamically throughout your stylesheets.
Bleeding-Edge Custom Media Support: Store breakpoint media queries as variables using the upcoming @custom-media specifications declared in _custom-media.css. Lightning CSS parses these declarations and compiles them into fully backwards-compatible media queries automatically.
Automated CSS Image Path Resolution: Referencing local theme images in static CSS files is a classic absolute pathing headache for developers. WP Rig’s Lightning CSS pipeline includes a specialized automation script that dynamically resolves relative image paths (e.g., pointing to assets inside assets/images/) and compiles them into production-ready URLs. This removes manual path correction entirely.
9. Accessibility (a11y) and Mobile-First Progressive Enhancement
Creating a truly accessible website that accommodates all users can take countless hours of auditing. WP Rig simplifies accessibility by baking strict WCAG compliance and mobile-first principles directly into its foundational HTML markup:
Mobile-First Baseline: The markup uses a clean, lightweight HTML structure. Mobile-first styling serves as the baseline, while complex multi-dimensional grids are served using CSS Grid and Flexbox as progressive enhancements. Older browsers that do not support grid layouts seamlessly fall back to the optimized, single-column mobile view.
Keyboard & Screen Reader Friendly: Navigation templates and responsive mobile menus are pre-configured with keyboard-accessible tab focuses and dynamic ARIA attributes.
Automated Audits: With Playwright and axe-core integrated into the testing pipeline, you can run accessibility audits locally on your custom pages to identify violations before going live.
10. Ultimate Child Theme Authoring for ANY Parent Theme
For many web agencies, the ideal workflow involves maintaining a highly optimized “parent” theme and spinning up lightweight “child” themes for individual client projects. However, child themes often lose access to the parent’s compilation pipeline, forcing developers to manage clumsy independent bundlers.
WP Rig features a dedicated childify script that elegantly solves this problem—and it is compatible with any WordPress parent theme on the market.
Whether your target site operates on a WP Rig parent or popular frameworks like Astra, GeneratePress, Divi, Kadence, or Twenty Twenty-Four, running:
nodenode/childify.js
instantly bootstraps an optimized child theme in your directory.
This generated child theme:
Inherits templates and configurations cleanly from your chosen parent theme.
Maintains its own independent, fully operational copy of the WP Rig modern build system, including esbuild, Lightning CSS, and the Modern Dev Server.
Allows you to write modern CSS nesting, dynamic image pathing, and TypeScript inside the child theme’s src/ directory, while letting the third-party parent theme handle core template rendering.
This delivers the ultimate child development architecture, allowing you to use WP Rig’s high-performance build tools on any WordPress site, regardless of the active parent theme.
Conclusion: Elevate Your WordPress Theme Development with WP Rig
WP Rig is more than a starter theme; it is an engineered, developer-first platform designed to elevate the standards of WordPress theme development. By combining strict modular PHP architectures, blisteringly fast compilation tools like Bun and esbuild, native Full Site Editing compatibility, and automated QA systems, WP Rig empowers you to build themes that are incredibly clean, lightning-fast, and future-proof.
Stop wrestling with bloated code and slow compilers. Clone WP Rig, start your local server, and experience modern WordPress theme engineering today!
I wanted to put V3 to the test and dogfood the product a big while launching V3. So, I thought it was about time to update the WP Rig theme on wprig.io. This was a great idea as it highlighted some shortcomings of WP Rig as well as helped to catch some bugs that still lingered from the V3 rewrite. Below is what I learned.
Making new components is too manual
I have been using WP Rig for a few years now on a handful of projects, yet, even while working on this new theme, I still made some mistakes while making the new Fonts component. This lead me to realize that the process of making new components is too prone to human error.
In an upcoming new version, I would love to add a CLI script that automates the process of creating new components getting them all hooked up to the theme. Essentially scaffolding them for the developer while also maybe asking for some input to streamline the customization of them.
Localized Google Fonts
Currently, we have a component for fonts, and a pretty simple way to add new ones to your theme – if you are ok with your theme constantly pinging the Google Fonts CDN with requests to get the fonts. This is not ideal for performance for a number of reasons.
I think WP Rig should have a built-in dev system that gets the fonts locally from Google and bundles them into the theme itself so the theme is requesting them from the same server its deployed to. This would:
reduce reliance on the Google servers to serve your website.
make requesting the fonts much faster and more secure.
eliminate fonts as a possible blocking resource within the theme.
improve lighthouse scores for the theme.
Improve performance of Styles and Scripts components
The are already fairly performant, however, the global scripts still get flagged by Lighthouse as render-blocking. How do we eliminate this issue and ensure no WP Rig styles/scripts are EVER a source of Lighthouse issues? We could provide some options here.
Offer the ability to easily inline specific scripts so they don’t need to be requested via HTTP. This would mostly apply to globals or styles that are crucial to above-the-fold elements (especially persistent ones). We must be cautious here though as there are negatives to over-relying on this approach.
Adopt an npm tool like “critical” to make it easier for theme devs to determine which styles need to be inlined or otherwise more highly prioritized.
Explore other WP-based tools that might help with more dynamically determining critical styles or scripts that we might be able to build an integration with.
Block Styles Component
We should make it easier for theme devs to create block styles from directly in the theme code-base. While I still believe that custom blocks are still a better fit for plugins, themes should offer block style opinions and capabilities.
What went well
Going to a dark theme from a light theme was super easy.
The navigation was fairly straight forward to customize, although I didn’t try to get too fancy and basically just stuck with the stock nav for the most part.
Adding random CSS tricks from Codepen could not have been easier (Tools cards with hover effect).
I spent a total of about 4-5 hours on the new version of the theme.
At the end of 2020, we began transitioning responsibility of WP Rig over to a new team of maintainers. Today, we have a new team of maintainers and progress has been made on getting WP Rig moving again. We pushed out a new release at the beginning of the year that addressed some long-standing issues in the latest version of WP Rig. Specifics around that can be found in Github. So now what?
We have big plans for WP Rig moving forward…
First and foremost, we are currently working on improving documentation around WP Rig in a big way, so stay tuned to the wprig.io website for updates there, as this is where most documentation for WP Rig will be found in the future.
Second, we are working on some semi-secret integrations with some local ;) development build tools to make it easier and faster to get up and running with theme development using WP Rig. We are hoping that by introducing these, we can generate more interest around this amazing tool and get more people actively contributing to this project.
To keep things short and sweet, we have some pretty ambitious ideas for ways to improve WP Rig in the future. More features, better documentation, and integration with other popular development tools are our primary focuses for the rest of 2021.
We are always actively looking for people who would like to contribute to WP Rig. If you are interested in being a part of this journey with us, please feel free to reach out to us on Github, or join our Slack workspace to join the conversations around all things WP Rig and WordPress theme development.
Update: A public meeting is scheduled for Friday August 21 at 8am PST to discuss the future of WP Rig. The meeting will be held over Zoom and everyone is free to join. Code of Conduct applies.
It started as a conversation at a sponsor booth at WordCamp US: What would be the most effective way of directly impacting the performance of WordPress sites and through that the performance of the web? The answer: Build tools for designers and developers to build more performant themes. So we did, and WP Rig was the result. Now we’re putting the question to the WordPress community: Is this what you want?
WP Rig is looking for new maintainers and contributors
An open source project stands and falls on the desire of the community to keep it going. Over the past two years WP Rig has grown from a secret project managed by Morten Rand-Hendriksen to a large public endeavor co-maintained by Rachel Cherry, Andrew Taylor, Felix Arntz, Benoît Chantre, and Morten. It is supported by a popular course on LinkedIn learning and is in use by agencies and developers all around the world.
In late 2019 the majority of project maintainers found themselves in professional circumstances that made it impossible to continue committing the necessary time to keep evolving the project, but we all feel WP Rig is an essential tool for the WordPress community and can play a pivotal role in evolving what theme development for WordPress looks like and what themes in WordPress are.
For these reasons, we are making a public call to the WordPress community to recruit new maintainers and contributors.
If you have an opinion about how WordPress themes should be built, want to build a better starter theme for WordPress, and want to explore and experiment with the future of themes, this project is for you.
We are exploring all options here: Donating WP Rig to the WordPress Open Source Project or more specifically the Theme Review Team, donating it to an agency or new group of maintainers, or freezing the project in its current stable v2.0 state until new maintainers come forward.
A meeting will be organized in January (date and location TBA) for anyone and everyone interested in the future of WP Rig. Stay tuned to this post and the GitHub issue for updates.
What is WP Rig?
WP Rig is a modern build process and starter theme in one package. It allows developers to build performant, accessible themes using modern PHP, CSS, and JavaScript and does the complex work of pre- and post-processing, linting, minification, and optimization. It provides a robust build process using modular Gulp written in ESNext, uses modern CSS techniques like conditional in-body stylesheets, custom properties and media queries, and CSS grid, all processed through PostCSS. It tests every line of code you write against the WordPress Coding Standards.
The purpose of WP Rig is to give developers a tool which outputs themes that prioritize
Accessibility
Performance
Modern best-practices
Coding standards
Modern languages and tools
New maintainers, contributors, and adopters are expected to adhere to these principles.
What already exists
WP Rig has an established presence on the web and in the WordPress community. There is a website, a Twitter handle, a Slack channel, and a GitHub organization with multiple repos. This project is already up and running. Stepping in as a maintainer means jumping into a moving car and deciding where it should go next.
What WP Rig can be
The WordPress community does not have a canonical boilerplate or baseline tool to showcase what good theme development and build tools look like. For many years _S (Underscores) served this purpose, but that project has lost steam and adoption and is anchored in an old way of thinking about themes and coding languages.
Developers and agencies would benefit significantly from the WordPress Open Source Project having and maintaining a core theme development kit containing a modern build process and starter theme. That’s what WP Rig was always intended to be, and it is uniquely positioned to take on this role.
There are a myriad of starter themes and frameworks available for WordPress, and they all have great features and practices worth adopting. The challenge is almost all of them are tied either to a commercial product, are in themselves a commercial product, or are internal tools used by agencies for their purposes. WP Rig was intentionally built to be agnostic – a true open source project without fealty to any organization or commercial interest. It is a project for, by, and owned by the WordPress community.
As the Block Editor (Gutenberg) moves into “Phase 2” and blocks migrate out of the content blob to take over the whole view, the WordPress community needs first a place to experiment with what this concept means, and second a best-practice starting point for how to build themes the new way. WP Rig can be that proving ground and best-practice baseline.
There is a possible future on the horizon where theme developers, from novice to professional to agency leads, start from the same baseline with the same build process to build the future of the web. There is a possible future where everyone contributes back to this baseline to keep the community on the cutting edge of accessibility and performance best-practices, build tools, and coding standards, and where an entire ecosystem of new starter themes and build tools are built on top of this baseline. There is a possible future in which WordPress theme developers come together and take on the role and responsibility of staking the course for the front-end of the web by building progressive themes based on the latest and greatest in code, design, and tooling.
WP Rig can be the vehicle to make this future happen.
WordPress and the web it lives on has evolved. So have the tools we use to build experiences and interactions on and with the web. WordPress theme development is no longer “just” about writing PHP and CSS and JavaScript. It’s also about accessibility and build processes and coding standards and performance best practices and and modern coding languages and browser support and a myriad of other topics.
WP Rig bridges this gap by building accessibility, performance, coding standards, and modern coding best practices in by default. WP Rig is a modern build process and progressive starter theme bundled together. It does the heavy lifting so you the developer can do what you do best: Write modern PHP, CSS, and JavaScript. And there’s more: