You've already forked wp-fedistream
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>
28 lines
960 B
Twig
28 lines
960 B
Twig
{# Playlist archive template #}
|
|
<div class="fedistream-archive fedistream-archive--playlists">
|
|
<header class="fedistream-archive__header">
|
|
<h1 class="fedistream-archive__title">{{ __('Playlists', '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--playlists">
|
|
{% for post in posts %}
|
|
{% include 'partials/card-playlist.twig' with { post: post } %}
|
|
{% endfor %}
|
|
</div>
|
|
|
|
{% if pagination %}
|
|
<nav class="fedistream-pagination">
|
|
{{ pagination|raw }}
|
|
</nav>
|
|
{% endif %}
|
|
{% else %}
|
|
<div class="fedistream-empty">
|
|
<p>{{ __('No playlists found.', 'wp-fedistream') }}</p>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|