feat: add CHRNX templates and editorial patterns
This commit is contained in:
20 files changed
+561
-4
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* Title: Podcast landing
|
||||
* Slug: chrnx/podcast-landing
|
||||
* Categories: chrnx-podcasts
|
||||
* Description: Empty structural regions for show discovery, latest episodes, and archives.
|
||||
* Inserter: yes
|
||||
*
|
||||
* @package CHRNX
|
||||
*/
|
||||
$chrnx_podcast_art = get_theme_file_uri( 'assets/images/alter-ego-podcasts.png' );
|
||||
?>
|
||||
<!-- wp:group {"tagName":"section","className":"chrnx-podcast-landing","layout":{"type":"constrained"}} -->
|
||||
<section class="wp-block-group chrnx-podcast-landing">
|
||||
<!-- wp:heading {"level":1} --><h1 class="wp-block-heading"><?php echo esc_html__( 'Podcasts', 'chrnx' ); ?></h1><!-- /wp:heading -->
|
||||
<!-- wp:html --><img class="chrnx-podcast-landing__art" src="<?php echo esc_url( $chrnx_podcast_art ); ?>" width="1122" height="1402" loading="lazy" decoding="async" alt="" aria-hidden="true"><!-- /wp:html -->
|
||||
<!-- wp:group {"metadata":{"name":"chrnx/podcast-show-discovery"},"layout":{"type":"constrained"}} --><div class="wp-block-group"></div><!-- /wp:group -->
|
||||
<!-- wp:group {"metadata":{"name":"chrnx/podcast-latest"},"layout":{"type":"constrained"}} --><div class="wp-block-group"></div><!-- /wp:group -->
|
||||
<!-- wp:group {"metadata":{"name":"chrnx/podcast-archive"},"layout":{"type":"constrained"}} --><div class="wp-block-group"></div><!-- /wp:group -->
|
||||
</section>
|
||||
<!-- /wp:group -->
|
||||
Reference in new issue
Block a user