Team & Testimonial Blocks Pro
Professional team member and testimonial blocks for Gutenberg with multiple style variations and Schema markup
by Your Name · github.com/titu120/team-testimonial-block · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/titu120/team-testimonial-block/archive/refs/heads/main.zipProfessional team member and testimonial blocks for Gutenberg with multiple style variations and Schema markup.
Features
Team Member Block
- 5 beautiful pre-designed styles
- Social media integration (Facebook, Twitter, LinkedIn, Instagram)
- Contact information (email, phone)
- Flexible image shapes (circle/square)
- Custom colors (background and text)
- Text alignment options
- Mobile responsive design
- RTL language support
Testimonial Block
- 5 unique style variations
- Star rating system (1-5 stars)
- Schema.org Review markup for SEO
- Quote icon options
- Author information with image
- Custom styling options
- Mobile responsive design
- RTL language support
Installation
For Development
- Clone or download the plugin to
/wp-content/plugins/team-testimonial-blocks-pro/ - Navigate to the plugin directory in terminal
- Install dependencies:
npm install - Build the plugin:
npm run build - Activate the plugin in WordPress admin
For Production
- Upload the plugin folder to
/wp-content/plugins/ - Run
npm installandnpm run build(or use pre-built files) - Activate the plugin through WordPress admin
- Add blocks in Gutenberg editor under "Common" category
Development
Start Development Server
Watch for changes and rebuild automatically:
npm start
Build for Production
Create optimized production build:
npm run build
Code Quality
Lint JavaScript files:
npm run lint:js
Lint CSS/SCSS files:
npm run lint:css
Format code:
npm run format
Update Dependencies
Update WordPress packages:
npm run packages-update
Project Structure
team-testimonial-blocks-pro/
├── assets/ # Static assets (CSS, JS)
│ ├── css/
│ └── js/
├── build/ # Compiled files (generated)
├── includes/ # PHP includes
│ ├── register-blocks.php
│ └── security.php
├── src/ # Source files
│ ├── team-member/
│ │ ├── block.json
│ │ ├── edit.js
│ │ ├── save.js
│ │ ├── style.scss
│ │ └── index.js
│ └── testimonial/
│ ├── block.json
│ ├── edit.js
│ ├── save.js
│ ├── style.scss
│ ├── star-rating.js
│ └── index.js
├── .editorconfig # Editor configuration
├── .gitignore # Git ignore rules
├── package.json # NPM configuration
├── readme.txt # WordPress.org readme
├── SECURITY.md # Security documentation
└── team-testimonial-blocks-pro.php # Main plugin file
Usage
Team Member Block
- Add "Team Member" block from Gutenberg inserter
- Fill in member information (name, position, bio)
- Upload member image
- Add contact information (optional)
- Add social media links (optional)
- Choose style variation
- Customize colors and alignment
Testimonial Block
- Add "Testimonial" block from Gutenberg inserter
- Enter testimonial text
- Set star rating (1-5)
- Add author information
- Upload author image (optional)
- Choose style variation
- Enable/disable quote icon
- Toggle Schema markup for SEO
Requirements
- WordPress 6.0 or higher
- PHP 7.4 or higher
- Node.js 14+ and npm (for development)
Browser Support
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
Security
This plugin follows WordPress security best practices:
- All inputs are sanitized
- All outputs are escaped
- Nonce verification for AJAX
- Capability checks
- SQL injection prevention
- XSS protection
See SECURITY.md for detailed security documentation.
Contributing
- Follow WordPress Coding Standards
- Use ESLint and Stylelint for code quality
- Test on multiple themes
- Ensure accessibility compliance
- Test responsive design
License
GPL-2.0-or-later
Changelog
1.0.0
- Initial release
- Team Member block with 5 styles
- Testimonial block with 5 styles
- Schema markup support
- Mobile responsive design
- Security enhancements
- RTL language support
- Print styles
- Accessibility features
Support
For issues and feature requests, please use the plugin's support forum or GitHub issues.