Fix homepage stats: replace fake metrics with real/brand-accurate stats

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-05-03 01:26:18 +00:00
parent de8d1b8bef
commit 71ef7d2106

View File

@@ -78,10 +78,11 @@ $shop_url = get_permalink(wc_get_page_id('shop'));
<!-- Metrics row --> <!-- Metrics row -->
<div class="rar-metrics"> <div class="rar-metrics">
<?php <?php
$product_count = wp_count_posts('product')->publish;
$metrics = [ $metrics = [
['142,038', 'Reply-Alls regretted'], [$product_count . '+', 'Products in the catalog'],
['41 states', 'Currently shipping'], ['50 states', 'Currently shipping'],
['4.8 ★', 'Avg. on Trustpilot'], ['100%', 'Meetings that could\'ve been emails'],
['0', 'Calls returned'], ['0', 'Calls returned'],
]; ];
foreach ($metrics as [$num, $label]) { foreach ($metrics as [$num, $label]) {