Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mo-sawah/sawah-sports/archive/refs/heads/main.zipSawah Sports Premium v1.0.0
Premium WordPress plugin for football statistics powered by Sportmonks API v3. Optimized for Cyprus football leagues with professional Sofascore-inspired design.
✨ Features (STAGE 1 Complete)
Core Widgets
- ✅ Live Matches (with auto-refresh)
- ✅ Enhanced Standings (with form)
- ✅ Fixtures & Results
- ✅ Match Center (detailed match view)
- ✅ Team Profile
- ✅ Player Profile
Advanced Features
- ✅ xG (Expected Goals) Display
- ✅ Pre-match Odds
- ✅ Match Predictions
- ✅ Value Bets
- ✅ Head-to-Head Comparison
- ✅ Top Scorers
- ✅ Team Squad
- ✅ Injuries & Suspensions
- ✅ Referee Statistics
- ✅ TV Stations
- ✅ Events Timeline
- ✅ Pressure Index
- ✅ Live Standings
Design
- 🎨 Premium black & white theme (Sofascore-inspired)
- 📱 Fully responsive
- ⚡ Smooth animations
- 🎯 Icon integration
- 💎 Professional UI/UX
Cyprus Focus
- 🇨🇾 Cyprus First Division (ID: 570)
- 🇨🇾 Cyprus Cup (ID: 215)
- 🇨🇾 Cyprus Super Cup (ID: 7350)
- 🔧 Automatic Cyprus league prioritization
- 🌍 Multi-language support (Greek/English)
📦 Installation
- Upload plugin to
/wp-content/plugins/sawah-sports/ - Activate through WordPress plugins menu
- Install & activate Elementor (required)
- Go to Sawah Sports → Settings
- Add your Sportmonks API token
- Configure cache settings
🚀 Usage
Elementor Widgets
- Open Elementor editor
- Search for "Sawah" in widget panel
- Find widgets under "Sawah Sport" category
- Drag and drop desired widget
- Configure widget settings
Available Widgets
- Live Matches - Real-time scores with auto-refresh
- Standings - League table with form
- Fixtures & Results - Match schedule
- Match Center - Detailed match analysis
- Team Profile - Team statistics & squad
- Player Profile - Player stats & performance
- Top Scorers - League top scorers
- H2H Comparison - Head-to-head stats
- xG Match - Expected goals analysis
- Odds Display - Pre-match betting odds
- Predictions - AI match predictions
⚙️ API Endpoints
Public REST API
Base: https://yoursite.com/wp-json/sawah-sports/v1/
GET /livescores- Live match scoresGET /fixtures- Match fixturesGET /standings- League standingsGET /fixture/{id}- Match detailsGET /xg/{fixture_id}- Expected goalsGET /odds/{fixture_id}- Match oddsGET /predictions/{fixture_id}- PredictionsGET /team/{id}- Team detailsGET /player/{id}- Player detailsGET /topscorers/{season_id}- Top scorersGET /h2h/{team1}/{team2}- Head-to-headGET /sidelined/{team_id}- Injuries/suspensions
Rate Limiting
- Default: 60 requests per minute per IP
- Configurable in settings
- Applies to public API only
- Admin requests unlimited
🎨 Customization
CSS Classes
All widgets use consistent CSS classes:
.ss-widget- Main container.ss-card- Card wrapper.ss-card-head- Card header.ss-body- Card body.ss-match-row- Match item.ss-team- Team display.ss-score- Score display
Color Scheme
Primary design uses:
- Black (#0f172a)
- White (#ffffff)
- Gray scale (#f8f9fa to #0f172a)
- Accent: Red for live (#ef4444)
- Accent: Green for wins (#22c55e)
🔧 Requirements
- WordPress 6.0+
- PHP 7.4+
- Elementor (latest version)
- Sportmonks API subscription
- Modern browser (Chrome, Firefox, Safari, Edge)
📊 Sportmonks Subscription
Features require different subscription plans:
- Free: Basic fixtures, standings
- Standard: + xG, advanced stats
- Premium: + Odds, predictions, value bets
- Enterprise: + All features, higher limits
Check: https://www.sportmonks.com/football-api/
🐛 Troubleshooting
No Data Showing
- Check API token in settings
- Click "Test Connection"
- Verify subscription includes requested data
- Clear plugin cache
- Check browser console for errors
Slow Loading
- Enable cache in settings
- Increase TTL values
- Reduce "include" parameters
- Check server resources
- Consider CDN for assets
API Rate Limits
- Enable caching
- Increase TTL for less-changing data
- Reduce auto-refresh frequency
- Upgrade Sportmonks plan
- Contact Sportmonks support
📝 Changelog
1.0.0 (2025-12-24)
- Initial premium release
- 11 Elementor widgets
- 12 REST API endpoints
- Cyprus league optimization
- Premium black/white design
- xG analytics
- Odds & predictions
- Complete match center
- Mobile responsive
- Icon integration
- Advanced caching
- Rate limiting
- Error handling
- Multi-language support
🎯 Roadmap
Stage 2 (Planned)
- [ ] Calendar view
- [ ] Season statistics
- [ ] Advanced filters
- [ ] Match comparison tool
- [ ] Lineup builder
- [ ] Performance trends
- [ ] Custom dashboards
Stage 3 (Future)
- [ ] Mobile app integration
- [ ] Push notifications
- [ ] Fantasy football tools
- [ ] Betting calculator
- [ ] Social sharing
- [ ] Widget builder
- [ ] API webhooks
👨💻 Developer Info
Author: Sawah Solutions
Website: https://sawahsolutions.com
Plugin URI: https://github.com/sawahsolutions/sawah-sports
License: GPL v2 or later
Text Domain: sawah-sports
📞 Support
- Documentation: https://docs.sawahsolutions.com/sawah-sports
- Email: support@sawahsolutions.com
- GitHub Issues: https://github.com/sawahsolutions/sawah-sports/issues
🙏 Credits
- Sportmonks - API provider
- Elementor - Page builder
- Sofascore - Design inspiration
- WordPress - Platform
Made with ⚽ by Sawah Solutions for Cyprus Football Community
🎉 STAGE 2 COMPLETE - v2.0.0
All 11 Widgets Now Available!
NEW in v2.0.0:
- Match Center - Complete match analysis
- xG Match - Visual expected goals
- Team Profile - Team stats & info
- Player Profile - Player details
- Match Odds - Bookmaker odds
- Predictions - AI predictions
- Top Scorers - League leaders
- Head-to-Head - H2H comparison
Plus the original 3 enhanced widgets:
- Live Matches
- Standings
- Fixtures & Results
Total: 11 Professional Widgets ✅
See STAGE2_COMPLETE.md for full documentation.
🎊 STAGE 3 COMPLETE - v3.0.0
ALL 15 WIDGETS NOW AVAILABLE!
NEW in v3.0.0:
- Fixture Calendar - Monthly view
- Season Statistics - Analytics dashboard
- Match Comparison - Side-by-side analysis
- Live Match Ticker - Real-time feed
Total: 15 Professional Premium Widgets 🚀
See STAGE3_COMPLETE.md for complete documentation.
The Complete Football Statistics Plugin
- From Live Scores to Season Analytics
- From Player Profiles to Match Comparisons
- Everything You Need in One Plugin!
Production Ready ✅ | Premium Design ⭐ | Cyprus Optimized 🇨🇾