🔵 other: Alignment fix
Deploy to Dreamhost (dev) / build (push) Successful in 30s
Sync TODOs with Issues / sync_todos (push) Successful in 6s

This commit is contained in:
Keith Solomon
2026-06-20 20:49:15 -05:00
parent 0d1ede3712
commit 23ed0d4096
+41 -40
View File
@@ -50,49 +50,50 @@ if ( $vidBlock && strpos( $vidBlock, '<iframe' ) !== false ) {
</div>
<div class="content-wrapper text-balance <?php echo esc_attr( $contentClass ); ?>">
<?php if ( ! empty( $heading ) ) : ?>
<h2 class=""><?php echo esc_html( $heading ); ?></h2>
<?php endif; ?>
<?php if ( ! empty( $heading ) ) : ?>
<h2 class=""><?php echo esc_html( $heading ); ?></h2>
<?php endif; ?>
<?php if ( ! empty( $subHeading ) ) : ?>
<h3 class=""><?php echo esc_html( $subHeading ); ?></h3>
<?php endif; ?>
<?php if ( ! empty( $subHead ) ) : ?>
<h3 class=""><?php echo esc_html( $subHead ); ?></h3>
<?php endif; ?>
<?php if ( ! empty( $content ) ) : ?>
<div><?php echo wp_kses_post( $content ); ?></div>
<?php endif; ?>
<?php if ( ! empty( $content ) ) : ?>
<div><?php echo wp_kses_post( $content ); ?></div>
<?php endif; ?>
<?php if ( ! empty( $ctas ) ) : ?>
<div class="reset flex flex-wrap justify-center lg:justify-start gap-6 mt-8">
<?php foreach ( $ctas as $cta ) : ?>
<?php
$ctaLink = $cta['link'];
$ctaUrl = $ctaLink['url'] ?? '#';
$ctaTarget = $ctaLink['target'] ?? '_self';
$ctaTitle = $ctaLink['title'] ?? '';
$ctaColor = $cta['color'] ?? '';
$ctaVariant = $cta['variant'] ?? '';
$ctaSize = $cta['size'] ?? '';
$ctaWidth = $cta['width'] ?? '';
<?php if ( ! empty( $ctas ) ) : ?>
<div class="reset flex flex-wrap justify-center lg:justify-start gap-6 mt-8">
<?php
foreach ( $ctas as $cta ) :
$ctaLink = $cta['link'];
$ctaUrl = $ctaLink['url'] ?? '#';
$ctaTarget = $ctaLink['target'] ?? '_self';
$ctaTitle = $ctaLink['title'] ?? '';
$ctaColor = $cta['color'] ?? '';
$ctaVariant = $cta['variant'] ?? '';
$ctaSize = $cta['size'] ?? '';
$ctaWidth = $cta['width'] ?? '';
// Handle admin preview
if ( is_admin() && $ctaURL ) {
$ctaURL = '#';
}
?>
<x-button
btnclasses="button text-center"
element="a"
url="<?php echo esc_url( $ctaURL ); ?>"
target="<?php echo esc_attr( $ctaTarget ); ?>"
title="<?php echo esc_attr( $ctaTitle ); ?>"
color="<?php echo esc_attr( $ctaColor ); ?>"
variant="<?php echo esc_attr( $ctaVariant ); ?>"
size="<?php echo esc_attr( $ctaSize ); ?>"
width="<?php echo esc_attr( $ctaWidth ); ?>"
></x-button>
<?php endforeach; ?>
</div>
<?php endif; ?>
// Handle admin preview
if ( is_admin() && $ctaURL ) {
$ctaURL = '#';
}
?>
<x-button
btnclasses="button text-center"
element="a"
url="<?php echo esc_url( $ctaURL ); ?>"
target="<?php echo esc_attr( $ctaTarget ); ?>"
title="<?php echo esc_attr( $ctaTitle ); ?>"
color="<?php echo esc_attr( $ctaColor ); ?>"
variant="<?php echo esc_attr( $ctaVariant ); ?>"
size="<?php echo esc_attr( $ctaSize ); ?>"
width="<?php echo esc_attr( $ctaWidth ); ?>"
></x-button>
<?php endforeach; ?>
</div>
<?php endif; ?>
</div>
</div>