
內容簡介
Seaglass Tools 是一款專為 Seaglass 佈景主題設計的外掛,提供一組固定的欄位,無需配置或使用短碼,讓使用者能輕鬆顯示產品資訊與常見問題,提升網站內容的呈現。
【主要功能】
• 顯示產品類別與標籤的描述
• 產品數位詳情顯示,如作者、格式等
• 常見問題以可展開的方式顯示
• 文章與頁面標題下方的引導文字
• 聊天格式的段落轉換為聊天泡泡
• 原生音頻與視頻播放器支持
外掛標籤
開發者團隊
原文外掛簡介
Seaglass Tools adds a small, fixed set of fields that the Seaglass theme can show – no field builder, nothing to configure.
Values are displayed with Block Bindings (source seaglass/field), so there are no shortcodes. The theme keeps working without the plugin: empty fields simply do not show.
Currently included:
Product category and tag: description below the product list (may use H2/H3 headings).
Product category: header image and an icon for category tiles and subcategory buttons – one of the theme’s icons or an emoji (shown in the theme colour by Seaglass).
Products: digital details – author, narrator, format, length, language, file size – and a free sample link, edited in the “Digital details” tab of the product data box. Seaglass shows them in the facts box under the price (an audio sample gets a player, other samples a button).
Products: FAQ – question/answer pairs edited in the same “Digital details” tab. Seaglass shows them as expandable boxes under the product description; the plugin then adds FAQPage structured data (JSON-LD) with exactly the questions shown on the page. Turn the schema off with add_filter( 'seaglass_tools_faq_schema', '__return_false' );. Another theme can show the FAQ itself (seaglass_tools_get_faq( $product_id )) and fire do_action( 'seaglass_product_faq_rendered', $items, $product_id ) to get the schema.
Posts and pages: a lead under the title, edited in the “Seaglass” panel of the block editor.
Chat post format: paragraphs written as “Name: text” become chat bubbles.
Native audio and video players for the and shortcodes (no MediaElement.js). Disable with add_filter( 'seaglass_tools_native_media', '__return_false' );.
