Albums were three hardcoded cards. An album is a chrnx_release term now, with cover, status and listening links; its archive is the album page with an ordered tracklist. A song is a post carrying lyrics and notes, its track number, and the audio. The player is a native audio element, no library and no JavaScript. Platform icons render only when a URL exists, so nothing points at a service the release is not on yet. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
32 lines
2.5 KiB
PHP
32 lines
2.5 KiB
PHP
<?php
|
|
/**
|
|
* Title: Music landing
|
|
* Slug: chrnx/music-landing
|
|
* Categories: chrnx-music
|
|
* Description: Honest public introduction and approved starter releases for The No Names.
|
|
* Inserter: yes
|
|
*
|
|
* @package CHRNX
|
|
*/
|
|
?>
|
|
<!-- wp:group {"tagName":"section","className":"chrnx-music-landing","layout":{"type":"constrained"}} -->
|
|
<section class="wp-block-group chrnx-music-landing">
|
|
<!-- wp:group {"className":"chrnx-character-stage","layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group chrnx-character-stage">
|
|
<!-- wp:html --><div class="chrnx-character-stage__atmosphere"><?php echo chrnx_get_topic_portrait_markup( 'music-collage', __( 'The No Names collage', 'chrnx' ), 'chrnx-character-stage__collage' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?></div><!-- /wp:html -->
|
|
<!-- wp:group {"className":"chrnx-character-stage__content","layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group chrnx-character-stage__content">
|
|
<!-- wp:heading {"level":2} --><h2 class="wp-block-heading"><?php echo esc_html__( 'The No Names', 'chrnx' ); ?></h2><!-- /wp:heading -->
|
|
<!-- wp:paragraph --><p><?php echo esc_html__( 'Grunge mexicano para cerebros que no se callan.', 'chrnx' ); ?></p><!-- /wp:paragraph -->
|
|
<!-- wp:paragraph --><p><?php echo esc_html__( 'The No Names es una banda activa y un proyecto de grunge en español mexicano desde Sinaloa: guitarras sucias, graves físicos, dinámica cruda de estudio y una voz que va de la contención a la ruptura. estudio crudo, cero live.', 'chrnx' ); ?></p><!-- /wp:paragraph -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
<!-- wp:html --><div class="chrnx-character-stage__art"><?php echo chrnx_get_topic_portrait_markup( 'music', __( 'The No Names musician portrait', 'chrnx' ), 'chrnx-music-landing__portrait' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?></div><!-- /wp:html -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
<!-- wp:paragraph {"className":"chrnx-music-note"} --><p class="chrnx-music-note"><?php echo esc_html__( 'El proceso usa generative AI anclada en la voz humana real de Chrnx. Es una herramienta de producción, no una mitología ficticia ni una promesa sobre lo que la tecnología puede hacer.', 'chrnx' ); ?></p><!-- /wp:paragraph -->
|
|
<!-- wp:heading {"level":3} --><h3 class="wp-block-heading"><?php echo esc_html__( 'Releases in progress', 'chrnx' ); ?></h3><!-- /wp:heading -->
|
|
<!-- wp:chrnx/release-list /-->
|
|
</section>
|
|
<!-- /wp:group -->
|