feat: add CHRNX templates and editorial patterns
This commit is contained in:
20 files changed
+561
-4
No files matched your search
@@ -24,7 +24,7 @@ $chrnx_label = $chrnx_term instanceof WP_Term ? $chrnx_term->name : ucfirst( $
|
||||
</div>
|
||||
<div class="chrnx-topic-hero__art">
|
||||
<?php if ( is_readable( get_theme_file_path( $chrnx_asset ) ) ) : ?>
|
||||
<img src="<?php echo esc_url( get_theme_file_uri( $chrnx_asset ) ); ?>" alt="<?php echo esc_attr( $chrnx_label ); ?>">
|
||||
<img src="<?php echo esc_url( get_theme_file_uri( $chrnx_asset ) ); ?>" width="1122" height="1402" loading="lazy" decoding="async" alt="" aria-hidden="true">
|
||||
<?php else : ?>
|
||||
<span class="chrnx-topic-hero__fallback" aria-hidden="true"></span>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in new issue
Block a user