635a76342eb5a323269e9e28898fcfcaba7f5b42
Add URL-driven label mode controls for printable calendars, including team_label and field_label parameters that support name, shortname, and abbreviation output. Wire those modes through the Tony's settings URL builder, printable title, opponent and matchup labels, selected field metadata, event venue labels, and footer legend labels. Expand the printable URL builder with field selection, team/field label format dropdowns, and month-page output. Keep existing URLs compatible by normalizing old label mode values such as full_name and short_name to the new name and shortname modes. Improve printable calendar rendering for field-filtered and combined-team schedules. Support multiple selected teams, matchup-style event cells, per-month pages, selected-field venue suppression, and neutral colors for multi-team calendars. Fix season-scoped venue color settings persistence by merging submitted field color and team-primary flags for the active season instead of wiping other seasons. Resolve field colors so team primary is only used for single-team calendars when the venue flag is set; multi-team calendars use the saved or suggested field color. Add PHPUnit coverage for multi-team printable URLs, label mode parameters, label resolution in printable entries, multi-team matchup entries, and suppressing venue labels when a single field is selected.
Tony's SportsPress Enhancements
Suite of enhancements for the SportsPress plugin, including custom event permalinks, Open Graph tags, and automatic featured image generation for events.
Description
Tony's SportsPress Enhancements is a collection of add-ons for the SportsPress plugin. It provides:
- Custom event permalinks for
sp_eventpost types, including season and team slugs. - Open Graph meta tags for events, with dynamic titles, descriptions, and images.
- Automatic featured image generation for events, combining team colors and logos into a shareable image.
- Printable team schedules with season-aware venue colors and a print-friendly calendar layout.
Features
- Custom rewrite rules and permalinks for SportsPress events.
- Open Graph integration for better social sharing.
- Dynamic, cached event images based on team data.
- Printable schedule pages linked from team profiles.
- Compatible with WordPress 4.5+ and PHP 5.6+.
Installation
- Upload the plugin files to the
/wp-content/plugins/tonys-sportspress-enhancements/directory, or install via the WordPress plugin repository. - Activate the plugin through the 'Plugins' menu in WordPress.
- Make sure the SportsPress plugin is installed and activated.
Frequently Asked Questions
Q: Does this plugin require SportsPress?
A: Yes, it extends the functionality of the SportsPress plugin.
Q: How are event images generated?
A: When an event is viewed or shared, a featured image is generated using the primary colors and logos of the participating teams.
This plugin is not affiliated with or endorsed by ThemeBoy or the official SportsPress plugin.
Description
v0.1.15
Latest
Languages
PHP
94.3%
CSS
3.1%
Shell
2%
JavaScript
0.6%