Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/maze/wp-content/themes/Archive-3/ |
Upload File : |
<?php
/*
Template Name: DJ Maze Discography
*/
get_header();
$music_links = dj_maze_3d_music_links();
$categories = dj_maze_3d_discography_categories();
?>
<div id="djmaze-site" class="maze-discography-page">
<div class="maze-cursor"></div>
<?php dj_maze_3d_render_nav('discography'); ?>
<section class="maze-music-hero panel" id="music">
<div class="maze-music-hero-bg" style="background-image:url('<?php echo esc_url(get_template_directory_uri() . '/assets/images/discography-hero.jpg'); ?>');"></div>
<div class="maze-music-hero-overlay"></div>
<div class="maze-music-hero-content">
<p class="maze-kicker">Catalogue DJ Maze</p>
<h1>Musique</h1>
<h2>Discographie</h2>
<div class="maze-platform-row" aria-label="Music platforms">
<a href="<?php echo esc_url($music_links['spotify']); ?>" target="_blank" rel="noopener" aria-label="Spotify"><?php echo dj_maze_3d_platform_icon('spotify'); ?><span>Spotify</span></a>
<a href="<?php echo esc_url($music_links['apple']); ?>" target="_blank" rel="noopener" aria-label="Apple Music"><?php echo dj_maze_3d_platform_icon('apple'); ?><span>Apple Music</span></a>
<a href="<?php echo esc_url($music_links['youtube']); ?>" target="_blank" rel="noopener" aria-label="YouTube"><?php echo dj_maze_3d_platform_icon('youtube'); ?><span>YouTube</span></a>
<a href="<?php echo esc_url($music_links['deezer']); ?>" target="_blank" rel="noopener" aria-label="Deezer"><?php echo dj_maze_3d_platform_icon('deezer'); ?><span>Deezer</span></a>
</div>
</div>
</section>
<main class="maze-full-discography">
<?php foreach ($categories as $category) :
$items = dj_maze_3d_get_discography_items($category['slug']);
?>
<section class="maze-discography-category" id="<?php echo esc_attr($category['slug']); ?>">
<div class="maze-category-title-row">
<p class="maze-kicker">Discographie</p>
<h2><?php echo esc_html($category['title']); ?></h2>
</div>
<?php if (!empty($items)) : ?>
<div class="maze-release-grid">
<?php foreach ($items as $item) : ?>
<a class="maze-release-card" href="<?php echo esc_url($item['link']); ?>" aria-label="<?php echo esc_attr($item['title']); ?>">
<span class="maze-release-art"><img src="<?php echo esc_url($item['url']); ?>" alt="<?php echo esc_attr($item['title']); ?>"></span>
<strong><?php echo esc_html($item['title']); ?></strong>
</a>
<?php endforeach; ?>
</div>
<?php else : ?>
<p class="maze-empty-discography">Aucune pochette trouvée pour cette catégorie.</p>
<?php endif; ?>
</section>
<?php endforeach; ?>
</main>
</div>
<?php get_footer(); ?>