new pricing

This commit is contained in:
Matt Batchelder
2026-05-12 14:09:21 -04:00
parent 24879aeb14
commit cb9d31e8a8
2 changed files with 6 additions and 7 deletions

View File

@@ -1882,11 +1882,10 @@ function oribi_render_pricing_card($a)
<p class="pricing-tagline"><?php echo wp_kses_post($a['tagline']); ?></p>
<?php if ($monthly_price): ?>
<div class="pricing-price">
<div class="pricing-amount pbt-show-monthly"><?php echo wp_kses_post($monthly_price); ?></div>
<?php if ($monthly_per): ?><div class="pricing-per pbt-show-monthly"><?php echo wp_kses_post($monthly_per); ?></div><?php endif; ?>
<div class="pricing-amount"><?php echo wp_kses_post($monthly_price); ?></div>
<?php if ($monthly_per): ?><div class="pricing-per"><?php echo wp_kses_post($monthly_per); ?></div><?php endif; ?>
<?php if ($has_annual): ?>
<div class="pricing-amount pbt-show-annual" hidden><?php echo wp_kses_post($annual_price); ?></div>
<div class="pricing-per pbt-show-annual" hidden><?php if ($annual_per): ?><?php echo wp_kses_post($annual_per); ?><?php endif; ?><?php if ($annual_savings): ?> &mdash; <span class="pricing-savings-inline"><?php echo esc_html($annual_savings); ?></span><?php endif; ?></div>
<div class="pricing-per pbt-show-annual" hidden><?php echo wp_kses_post($annual_price); ?> billed annually<?php if ($annual_savings): ?> &mdash; <span class="pricing-savings-inline"><?php echo esc_html($annual_savings); ?></span><?php endif; ?></div>
<?php endif; ?>
</div>
<?php endif; ?>