feat: release news and store experience updates
This commit is contained in:
+2
-5
@@ -29,13 +29,10 @@ get_header();
|
||||
<p><?php esc_html_e( '从车漆保护、外观改色到车窗隔热,按车型与使用需求查看可选项目。', 'fragrance-trade' ); ?></p>
|
||||
</header>
|
||||
<div class="pb-5">
|
||||
<div class="capability-grid">
|
||||
<div class="capability-grid capability-grid-archive">
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<?php
|
||||
$image = get_post_meta( get_the_ID(), '_service_image', true );
|
||||
?>
|
||||
<article class="capability-card">
|
||||
<div class="capability-image"><a href="<?php the_permalink(); ?>"><?php if ( has_post_thumbnail() ) : ?><?php the_post_thumbnail( 'fragrance-capability', array( 'class' => 'img-fluid', 'loading' => 'lazy', 'decoding' => 'async' ) ); ?><?php else : ?><img src="<?php echo esc_url( $image ? $image : fragrance_trade_asset_uri( 'images/products/placeholder-01.svg' ) ); ?>" alt="<?php the_title_attribute(); ?>" class="img-fluid" loading="lazy" decoding="async"><?php endif; ?></a></div>
|
||||
<div class="capability-image"><a href="<?php the_permalink(); ?>"><?php echo fragrance_trade_service_card_image( get_the_ID() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></a></div>
|
||||
<div class="capability-body">
|
||||
<p class="capability-label"><?php esc_html_e( '贴膜服务', 'fragrance-trade' ); ?></p>
|
||||
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
|
||||
|
||||
Reference in New Issue
Block a user