Thank you for your interest in contributing to PrimeBible's WordPress plugin! As a 501(c)(3) nonprofit, we rely on volunteer contributors to make deep Bible study accessible to everyone.
- Code of Conduct
- How Can I Contribute?
- Getting Started
- Development Workflow
- Coding Standards
- Submitting Changes
- Community
This project follows the Contributor Covenant. By participating, you agree to uphold this code. Please report unacceptable behavior to support@primebible.com.
Expected Behavior:
- Be respectful and inclusive
- Focus on what's best for the global church community
- Accept constructive criticism gracefully
- Show empathy toward other contributors
Found a bug? Help us fix it!
Before Reporting:
- Check existing issues to avoid duplicates
- Test with WordPress 5.8+ and PHP 7.4+
- Disable other plugins to isolate the issue
Bug Report Should Include:
- Clear, descriptive title
- Steps to reproduce
- Expected vs. actual behavior
- WordPress version, PHP version, browser
- Screenshots/screen recordings (if applicable)
- Console errors (if any)
Have an idea? We'd love to hear it!
Feature Requests Should Include:
- Problem statement (what pain point does this solve?)
- Proposed solution
- Alternative solutions considered
- Impact on performance/usability
- Fix typos or unclear instructions
- Add usage examples
- Translate to other languages
- Write tutorials or guides
- Fix bugs
- Implement features
- Optimize performance
- Add tests
- Local WordPress Environment: LocalWP, XAMPP, or Docker
- PHP: 7.4 or higher
- WordPress: 5.8 or higher
- Git: For version control
# 1. Fork the repository on GitHub
# 2. Clone your fork
git clone https://github.com/YOUR-USERNAME/wordpress-plugin.git
cd wordpress-plugin
# 3. Create a symlink in your WordPress plugins directory
ln -s /path/to/wordpress-plugin /path/to/wordpress/wp-content/plugins/primebible-verse-preview
# 4. Activate the plugin in WordPress adminmain- Production-ready codedevelop- Integration branch for featuresfeature/feature-name- New featuresfix/bug-name- Bug fixesdocs/doc-name- Documentation changes
# 1. Create a new branch
git checkout -b feature/awesome-feature
# 2. Make your changes
# ... code code code ...
# 3. Commit with descriptive messages
git commit -m "feat: Add awesome new feature
Detailed description of what changed and why.
References #123"
# 4. Push to your fork
git push origin feature/awesome-feature
# 5. Open a Pull Request on GitHubFollow WordPress Coding Standards:
- WordPress PHP Coding Standards
- Use
snake_casefor functions and variables - Use
PascalCasefor classes - Prefix all global functions/classes with
primebible_
Example:
<?php
function primebible_get_verse( $reference ) {
// Function code
}
class PrimeBible_Tooltip {
// Class code
}
?>- Use ES6+ syntax
- Follow Airbnb JavaScript Style Guide
- Use
camelCasefor variables and functions - Add JSDoc comments for functions
Example:
/**
* Fetches verse text from API
* @param {string} reference - Bible reference (e.g., "John 3:16")
* @returns {Promise<string>} Verse text
*/
async function fetchVerse(reference) {
// Function code
}- Use BEM methodology
- Prefix classes with
pb-(PrimeBible) - Mobile-first responsive design
Example:
.pb-tooltip { }
.pb-tooltip__header { }
.pb-tooltip__body { }
.pb-tooltip--dark { }Before Submitting:
- ✅ Test thoroughly (multiple browsers, devices)
- ✅ Follow coding standards
- ✅ Update documentation if needed
- ✅ Add/update tests if applicable
- ✅ Ensure no console errors
Pull Request Template:
## Description
Brief description of changes
## Type of Change
- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Documentation update
## Testing
- [ ] Tested on WordPress 5.8+
- [ ] Tested on PHP 7.4+
- [ ] Tested on mobile devices
- [ ] No console errors
## Screenshots
(if applicable)
## Related Issues
Fixes #123Use Conventional Commits:
feat: Add new translation support
fix: Resolve tooltip positioning bug
docs: Update installation instructions
style: Format code according to standards
refactor: Simplify API request logic
test: Add unit tests for verse detection
chore: Update dependencies
- GitHub Issues: Bug reports and feature requests
- GitHub Discussions: General questions and ideas
- Email: support@primebible.com
- Documentation: https://primebible.com/docs/wordpress-plugin
All contributors are recognized in:
- Repository contributors page
- Annual impact reports
- Plugin credits
We deeply appreciate every contribution, no matter how small!
By contributing, you agree that your contributions will be licensed under the GPL-2.0-or-later license, same as this project.
Thank you for helping us make Bible study accessible to everyone!
PrimeBible • A 501(c)(3) Nonprofit Organization