Files
car-t-t/template-parts/home/customization.php
T
zhs123 8a2890f8b4 refactor: 多页面门店重构 — CPT + 页面模板 + README 更新
- CPT: service(服务项目) + case(案例作品集) + case_type 分类
- 页面: 关于门店/常见问题/预约联系 + archive/single 模板
- 首页精简为 hero+trust+service-teaser+case-teaser+cta
- 主题激活自动迁移 Customizer 产品数据为 service 文章
- 预约表单: nonce+honeypot+rate-limit, URL 参数预填服务
- 联系页: 门店地址/电话/营业时间/百度地图导航
- Customizer 面板改为门店语境(13 板块)
- header CTA 改为预约, helpers 更新为门店口径
- README.md 全面更新为门店多页面架构文档
2026-07-24 15:37:40 +08:00

8 lines
993 B
PHP

<?php /** Customization map. @package Fragrance_Trade */ ?>
<section id="customization" class="b2b-section customization-section">
<div class="container">
<div class="row g-5 align-items-start"><div class="col-lg-5"><p class="section-eyebrow"><?php esc_html_e( '定制选项', 'fragrance-trade' ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_custom_title' ) ); ?></h2><p class="section-lead"><?php echo esc_html( fragrance_trade_get_mod( 'b2b_custom_text' ) ); ?></p><a href="#rfq" class="btn btn-b2b-primary mt-3"><?php esc_html_e( '提交预约需求', 'fragrance-trade' ); ?></a></div>
<div class="col-lg-7"><div class="customization-grid"><?php for ( $index = 1; $index <= 8; $index++ ) : ?><div class="customization-item"><span><?php echo esc_html( str_pad( (string) $index, 2, '0', STR_PAD_LEFT ) ); ?></span><h3><?php echo esc_html( fragrance_trade_get_mod( 'b2b_custom_' . $index . '_title' ) ); ?></h3></div><?php endfor; ?></div></div></div>
</div>
</section>