feat: release B2B Trade theme 2.1.0

This commit is contained in:
WorkBuddy
2026-07-24 22:25:29 +08:00
parent 13a35c7ec7
commit 4f070d4677
64 changed files with 1769 additions and 1762 deletions
+7 -3
View File
@@ -1,6 +1,10 @@
<?php
/** Site header. @package Fragrance_Trade */
$fragrance_rfq_url = home_url( '/contact/' );
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$fragrance_contact_url = home_url( '/contact/' );
?><!doctype html>
<html <?php language_attributes(); ?> class="no-js">
<head>
@@ -34,8 +38,8 @@ $fragrance_rfq_url = home_url( '/contact/' );
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="<?php esc_attr_e( '关闭导航', 'fragrance-trade' ); ?>"></button>
</div>
<div class="offcanvas-body">
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'navbar-nav justify-content-end flex-grow-1 gap-xl-4 pe-xl-3', 'container' => false, 'fallback_cb' => false ) ); ?>
<a class="btn b2b-header-cta ms-xl-3" href="<?php echo esc_url( $fragrance_rfq_url ); ?>"><?php esc_html_e( '预约', 'fragrance-trade' ); ?></a>
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'navbar-nav justify-content-end flex-grow-1 gap-xl-4 pe-xl-3', 'container' => false, 'fallback_cb' => 'fragrance_trade_primary_menu_fallback' ) ); ?>
<a class="btn b2b-header-cta ms-xl-3" href="<?php echo esc_url( $fragrance_contact_url ); ?>"><?php esc_html_e( '联系', 'fragrance-trade' ); ?></a>
</div>
</div>
</div>