You've already forked wp-fedistream
feat: Initial release v0.1.0
WP FediStream - Stream music over ActivityPub Features: - Custom post types: Artist, Album, Track, Playlist - Custom taxonomies: Genre, Mood, License - User roles: Artist, Label - Admin dashboard with statistics - Frontend templates and shortcodes - Audio player with queue management - ActivityPub integration with actor support - WooCommerce product types for albums/tracks - User library with favorites and history - Notification system (in-app and email) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
27
templates/archive/album.twig
Normal file
27
templates/archive/album.twig
Normal file
@@ -0,0 +1,27 @@
|
||||
{# Album archive template #}
|
||||
<div class="fedistream-archive fedistream-archive--albums">
|
||||
<header class="fedistream-archive__header">
|
||||
<h1 class="fedistream-archive__title">{{ __('Albums', 'wp-fedistream') }}</h1>
|
||||
{% if archive_description %}
|
||||
<div class="fedistream-archive__description">{{ archive_description }}</div>
|
||||
{% endif %}
|
||||
</header>
|
||||
|
||||
{% if posts is not empty %}
|
||||
<div class="fedistream-grid fedistream-grid--albums">
|
||||
{% for post in posts %}
|
||||
{% include 'partials/card-album.twig' with { post: post } %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% if pagination %}
|
||||
<nav class="fedistream-pagination">
|
||||
{{ pagination|raw }}
|
||||
</nav>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<div class="fedistream-empty">
|
||||
<p>{{ __('No albums found.', 'wp-fedistream') }}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user