new pricing

This commit is contained in:
Matt Batchelder
2026-05-12 14:05:45 -04:00
parent adbbbf521d
commit 24879aeb14
3 changed files with 9 additions and 7 deletions

View File

@@ -2550,6 +2550,10 @@ p:last-child { margin-bottom: 0; }
color: var(--color-primary);
margin-top: .35rem;
}
.pricing-savings-inline {
font-weight: 600;
color: var(--color-primary);
}
@media (max-width: 900px) {
.pricing-grid-3 { grid-template-columns: 1fr; max-width: 400px; }

View File

@@ -1886,12 +1886,10 @@ function oribi_render_pricing_card($a)
<?php if ($monthly_per): ?><div class="pricing-per pbt-show-monthly"><?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>
<?php if ($annual_per): ?><div class="pricing-per pbt-show-annual" hidden><?php echo wp_kses_post($annual_per); ?></div><?php endif; ?>
<?php if ($annual_savings): ?><div class="pricing-savings pbt-show-annual" hidden><?php echo esc_html($annual_savings); ?></div><?php endif; ?>
<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>
<?php endif; ?>
</div>
<?php
endif; ?>
<?php endif; ?>
<ul class="pricing-features">
<?php foreach (($a['features'] ?? []) as $f): ?>
<li><span class="pricing-check">&#10003;</span> <?php echo wp_kses_post($f); ?></li>