You've already forked wp-fedistream
feat: Replace Twig with native PHP templates
All checks were successful
Create Release Package / build-release (push) Successful in 55s
All checks were successful
Create Release Package / build-release (push) Successful in 55s
- Remove twig/twig dependency from composer.json - Convert all 25 Twig templates to native PHP templates - New render() method in Plugin.php using PHP include with output buffering - New render_partial() helper method for including partials - Templates support theme overrides via fedistream/ directory - Reduced plugin size by eliminating Twig and its dependencies Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
Stream music over ActivityPub - Build your own music streaming platform for Musicians and Labels.
|
||||
|
||||
[](CHANGELOG.md)
|
||||
[](CHANGELOG.md)
|
||||
[](https://php.net)
|
||||
[](https://wordpress.org)
|
||||
[](https://www.gnu.org/licenses/gpl-2.0.html)
|
||||
@@ -146,7 +146,7 @@ wp-fedistream/
|
||||
│ ├── Plugin.php # Main plugin singleton
|
||||
│ └── Installer.php # Activation/deactivation
|
||||
├── languages/ # Translation files
|
||||
├── templates/ # Twig templates
|
||||
├── templates/ # PHP templates
|
||||
├── vendor/ # Composer dependencies
|
||||
├── CHANGELOG.md # Version history
|
||||
└── wp-fedistream.php # Plugin entry point
|
||||
|
||||
Reference in New Issue
Block a user