feat: release B2B Trade theme 2.1.0
This commit is contained in:
+7
-3
@@ -4,6 +4,10 @@
|
||||
*
|
||||
* @package Fragrance_Trade
|
||||
*/
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
get_header();
|
||||
?>
|
||||
<main id="primary" class="site-main">
|
||||
@@ -22,7 +26,7 @@ get_header();
|
||||
?>
|
||||
<header class="page-header pb-5">
|
||||
<h1><?php esc_html_e( '案例作品', 'fragrance-trade' ); ?></h1>
|
||||
<p><?php esc_html_e( '看看我们为车主完成的贴膜施工案例。', 'fragrance-trade' ); ?></p>
|
||||
<p><?php esc_html_e( '浏览不同车型与项目的施工记录。实际效果会受膜料、车漆、光线和拍摄条件影响。', 'fragrance-trade' ); ?></p>
|
||||
</header>
|
||||
<div class="pb-5">
|
||||
<?php
|
||||
@@ -50,7 +54,7 @@ get_header();
|
||||
<?php if ( has_post_thumbnail() ) : ?>
|
||||
<?php the_post_thumbnail( 'medium', array( 'class' => 'img-fluid' ) ); ?>
|
||||
<?php else : ?>
|
||||
<img src="<?php echo esc_url( fragrance_trade_asset_uri( 'products/placeholder-01.svg' ) ); ?>" alt="<?php the_title_attribute(); ?>" class="img-fluid">
|
||||
<img src="<?php echo esc_url( fragrance_trade_asset_uri( 'images/products/placeholder-01.svg' ) ); ?>" alt="<?php the_title_attribute(); ?>" class="img-fluid">
|
||||
<?php endif; ?>
|
||||
<span class="case-card-title"><?php the_title(); ?></span>
|
||||
</a>
|
||||
@@ -58,7 +62,7 @@ get_header();
|
||||
</div>
|
||||
<?php the_posts_pagination(); ?>
|
||||
<?php else : ?>
|
||||
<p><?php esc_html_e( '案例即将上线,敬请期待。', 'fragrance-trade' ); ?></p>
|
||||
<p><?php esc_html_e( '案例内容正在整理中。', 'fragrance-trade' ); ?></p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user