feat(editorial): widen sections and add local track pages
Unify the editorial canvas across section pages, keep release tracks out of Journal, and give each song a listening surface with audio, metadata, platform links, sharing, and optional featured art. Document and seed the local The No Names fixture without changing production data.
This commit is contained in:
23 files changed
+770
-50
No files matched your search
@@ -127,7 +127,7 @@ function chrnx_get_platform_links_markup( array $links, $class_name = 'chrnx-pla
|
||||
}
|
||||
$items .= sprintf(
|
||||
// The icon path data is a fixed literal, never user input.
|
||||
'<li><a class="%1$s__link" href="%2$s" target="_blank" rel="noopener noreferrer external"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">%3$s</svg><span class="chrnx-screen-reader-text">%4$s</span></a></li>',
|
||||
'<li><a class="%1$s__link" href="%2$s" target="_blank" rel="noopener noreferrer external"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">%3$s</svg><span class="%1$s__label">%4$s</span></a></li>',
|
||||
esc_attr( $class_name ),
|
||||
esc_url( $url ),
|
||||
$platforms[ $platform ]['icon'], // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
|
||||
Reference in new issue
Block a user