feat: complete CHRNX responsive content states
This commit is contained in:
60 files changed
+1699
-22
No files matched your search
@@ -25,7 +25,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 ) ); ?>" width="<?php echo esc_attr( $chrnx_size[0] ); ?>" height="<?php echo esc_attr( $chrnx_size[1] ); ?>" loading="lazy" decoding="async" alt="" aria-hidden="true">
|
||||
<?php echo chrnx_get_topic_portrait_markup( $chrnx_topic, '', 'chrnx-section-portrait' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?>
|
||||
<?php else : ?>
|
||||
<span class="chrnx-topic-hero__fallback" aria-hidden="true"></span>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in new issue
Block a user