Prerequisites
Before you begin, ensure you have the following installed:- WordPress 6.9 or higher
- PHP 8.0+ (project uses PHP 8.1+)
- Node.js 18+ for development
- npm or yarn package manager
- Git for version control
- Composer for PHP dependency management
Fork and Clone the Repository
Fork the repository
Visit the WordPress Developer Showcase repository and click the Fork button in the top-right corner to create your own copy.
Repository Structure
The root of this repository represents thewp-content directory:
This structure reflects a WordPress installation’s content directory, making it easy to understand where your changes will live in production.
Set Up Development Environment
Understanding the Branches
This project uses a simplified Git Flow approach with two main branches:| Branch | Purpose | Deploys To |
|---|---|---|
trunk | Production-ready code (primary branch) | Production |
staging | Integration branch for testing | Staging Environment |
Syncing Your Fork
Before starting new work, always sync your fork with the upstream repository:Keep your
trunk branch clean and always create new branches from an up-to-date trunk.Creating Your First Branch
When you’re ready to start working:Getting Help
If you have questions:Open an Issue
Open an issue with the
question label for general questions about contributing.Contact Maintainers
Reach out to the project maintainers for specific guidance.
Next Steps
Now that you’re set up:- Read the Workflow Guide to understand the Git flow
- Review the Coding Standards before writing code
- Start contributing!
Remember: All contributions are welcome, from bug fixes to new features to documentation improvements!
