Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/naba-network/hsc-wp-sponsoren/releases/download/v0.1.7/hsc-sponsoren.zipUpdates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.
WordPress plugin for the club website: sponsors and partners maintained once, as a single source of truth.
Data model
| What | Stored as |
|---|---|
| Sponsor | Post type hsc_sponsor (menu Sponsoren) |
| Name | Post title |
| Description | Post editor content |
| Image | Featured image |
| Website | Post meta _hsc_sponsor_website (http/https URL) |
| Partner since | Post meta _hsc_sponsor_since (Y-m-d) |
| Type (Hauptsponsor, Premium, Sponsoren, Gönner) | Taxonomy hsc_sponsor_category |
The category terms are created by hand under Sponsoren > Kategorien. The sponsor list can be filtered by category and searched by name.
Development
composer install
composer lint # php -l + PHPCS (WordPress standards)
composer test # PHPUnit
bin/build-zip.sh # -> dist/hsc-sponsoren.zip
Release flow
mainand every pull request: lint + tests (.github/workflows/ci.yml).- Push to
production(e.g. mergemaininto it):.github/workflows/release.ymlderives the next version from Conventional Commits since the last tag (feat→ minor,fix/other → patch,!/BREAKING CHANGE→ major), updates plugin header,readme.txtandCHANGELOG.md, commits toproduction, tagsvX.Y.Zand publishes a GitHub release withhsc-sponsoren.zip.
Releases
7 releases. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads