- 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 全面更新为门店多页面架构文档
15 lines
1.1 KiB
PHP
15 lines
1.1 KiB
PHP
<?php /** OEM/ODM services. @package Fragrance_Trade */ ?>
|
|
<section id="services" class="b2b-section services-section">
|
|
<div class="container">
|
|
<div class="section-heading row align-items-end g-4">
|
|
<div class="col-lg-7"><p class="section-eyebrow"><?php esc_html_e( '服务项目', 'fragrance-trade' ); ?></p><h2><?php echo esc_html( fragrance_trade_get_mod( 'b2b_services_title' ) ); ?></h2></div>
|
|
<div class="col-lg-5"><p><?php echo esc_html( fragrance_trade_get_mod( 'b2b_services_text' ) ); ?></p></div>
|
|
</div>
|
|
<div class="row g-4 mt-4">
|
|
<?php for ( $index = 1; $index <= 4; $index++ ) : ?>
|
|
<div class="col-md-6 col-xl-3"><article class="service-card h-100"><span class="card-index">0<?php echo esc_html( $index ); ?></span><h3><?php echo esc_html( fragrance_trade_get_mod( 'b2b_service_' . $index . '_title' ) ); ?></h3><p><?php echo esc_html( fragrance_trade_get_mod( 'b2b_service_' . $index . '_text' ) ); ?></p><a href="#rfq" class="text-link"><?php esc_html_e( '了解此服务', 'fragrance-trade' ); ?> <span aria-hidden="true">→</span></a></article></div>
|
|
<?php endfor; ?>
|
|
</div>
|
|
</div>
|
|
</section>
|