
內容簡介
HTML 標籤示例如下:
```html
<!DOCTYPE html>
<html>
<head>
<title>Sidebar Category Tabs for WooCommerce</title>
</head>
<body>
<h2>產品分類側邊欄標籤外掛</h2>
<p>此外掛是專為 WooCommerce 商店設計的互動式產品分類標籤方案,具有手機友善的滾動標籤和輕點手勢,以展示產品分類並增強用戶互動。</p>
<p><strong>主要功能:</strong></p>
<ul>
<li>側邊導航:在側邊欄中以標籤形式顯示 WooCommerce 產品分類。</li>
<li>可自訂設計:添加自定義 CSS 進行樣式設置以符合您的主題。</li>
<li>AJAX 加載:在不刷新頁面的情況下動態加載產品,提供流暢的用戶體驗。</li>
<li>手機友善:具有滾動標籤和輕點手勢,以提供卓越的手機使用體驗。</li>
</ul>
<p><strong>短碼用法:</strong></p>
<p>使用以下短碼顯示分類標籤:<code>[wsct_woocommerce_sidebar_category_tabs]</code></p>
<p><strong>短碼屬性:</strong></p>
<ul>
<li>card_height:(選擇性) 設置產品卡片的高度(單位:像素)。預設為 400px。</li>
<li>default_category:(選擇性) 指定默認在標籤加載時顯示的分類。使用分類 ID。預設為第一個分類。</li>
</ul>
<p><strong>示例:</strong></p>
<p><code>[wsct_woocommerce_sidebar_category_tabs card_height="500" default_category="12"]</code></p>
</body>
</html>
```
問題和答案如下:
1. 什麼是「Sidebar Category Tabs for WooCommerce」外掛?
- 「Sidebar Category Tabs for WooCommerce」是專為 WooCommerce 商店設計的互動式產品分類標籤解決方案。
2. 這個外掛的主要功能有哪些?
- 主要功能包括在側邊欄中以標籤形式顯示 WooCommerce 產品分類、可自訂設計以符合主題、AJAX 加載以提供流暢的用戶體驗、手機友善的滾動標籤和輕點手勢。
3. 如何使用短碼來顯示分類標籤?
- 使用短碼 `[wsct_woocommerce_sidebar_category_tabs]` 來顯示分類標籤。
4. 可以如何設定產品卡片的高度?
- 可以使用 `card_height` 屬性來設置產品卡片的高度(單位:像素),預設為 400px。
5. 如何指定默認在標籤加載時顯示的分類?
- 可以使用 `default_category` 屬性來指定分類 ID,預設為第一個分類。
外掛標籤
開發者團隊
② 後台搜尋「Sidebar Category Tabs for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Sidebar Category Tabs for WooCommerce is an interactive product tab solution designed specifically for WooCommerce stores. It features mobile-friendly, scrollable tabs with flick gestures to showcase product categories and enhance user interaction. Live Demo
Key Features:
Sidebar Navigation: Displays WooCommerce product categories as tabs in a sidebar.
Quantity Controls: Easily adjust product quantities with + and – buttons before adding to cart.
Customizable Design: Add custom CSS for styling to match your theme.
AJAX Loading: Dynamically load products without refreshing the page for a smooth user experience.
Support types of product: Supports simple, variable product types.
Mobile-Friendly: Scrollable tabs with flick gestures for excellent mobile usability.
Shortcode Usage
Use the following shortcode to display the category tabs:
[wsct_woocommerce_sidebar_category_tabs]
Shortcode Attributes:
card_height: (Optional) Sets the height of the product cards in pixels. Default is 400px.
default_category: (Optional) Specifies the default category to display when the tabs load. Use the category ID. Default is the first category.
Example:
[wsct_woocommerce_sidebar_category_tabs card_height=”500″ default_category=”12″]
