WP Rig is an open source project built by the WordPress community for the WordPress community. Contributors and contributions welcome. If you have found a problem or want to suggest an improvement or new feature, please file an issue being careful to follow the provided template. If you want to contribute code to WP Rig, please follow the instructions below:
- Set up a local development environment with a WordPress site running on your computer.
- Fork the WP Rig repository.
- Clone the forked repository to your computer.
- Create a new branch for your changes.
- Run WP Rig as you normally would.
- Make code changes as necessary.
- Commit changes within the new branch.
- Push the new branch to your forked repository.
- Submit a Pull Request to the WP Rig repository explaining your changes and referencing any related issues.
Guidelines for pull requests
- If your pull request has multiple commits, make sure they are squashed.
- Keep pull requests as concise as possible. If you're addressing a bug, only submit the fixes for that bug.
- Submit unrelated cleanup, e.g. fixing spaces, tabs, or any violations caught by PHPCS, as its own pull request.
Branch naming convention
Name your branches with prefixes and descriptions:
add/= add a new feature
try/= experimental feature, "tentatively add"
update/= update an existing feature
Localizing WP Rig
WP Rig is a boilerplate for creating WordPress themes. The likelihood of a theme developer changing the structure of PHP files is high and any translation files shipped with WP Rig would be invalidated. For this reason, translations of WP Rig will not be accepted.