plugin-icon

CartTrigger – BAG

投稿者: Poletto 1976·
Enhance WooCommerce brands with custom fields, awards badges, and lifestyle galleries with native lightbox support.
バージョン
2.0.9
最終更新日時
Mar 19, 2026
CartTrigger – BAG

CartTrigger – BAG (Brand · Awards · Gallery) extends the WooCommerce native brand taxonomy with three powerful modules:

Custom Fields

Attach unlimited key–value pairs to any brand. Output them anywhere via shortcode or PHP helper function. CSS classes are fully customisable, including Tailwind arbitrary-value classes (e.g. text-[11px]).

Awards

Manage a list of awards and recognitions for each brand — with optional logo, award name, event name, and year. Display them as a styled list using the [ctbag_awards] shortcode.

Gallery

Upload a curated image gallery per brand. Display it as a responsive grid with the [ctbag_gallery] shortcode. Optional native WooCommerce lightbox (PhotoSwipe) via lightbox="1".

Shortcodes

[ctbag_custom_fields] Outputs brand custom fields as a <dl> list.

[ctbag_custom_fields brand="slug" wrapper_class="..." dt_class="..." dd_class="..."]

[ctbag_awards] Outputs brand awards as a styled card list.

[ctbag_awards brand="slug" title="Awards" wrapper_class="..." card_class="..."]

[ctbag_gallery] Outputs brand gallery as a responsive image grid.

[ctbag_gallery brand="slug" title="Gallery" wrapper_class="..." lightbox="1"]

PHP Helper Functions

All shortcodes are also available as direct PHP functions that bypass WordPress’ shortcode parser — useful when Tailwind arbitrary-value classes (e.g. text-[11px]) would otherwise be mangled:

echo ctbag_custom_fields(['wrapper_class' => 'grid grid-cols-2 gap-4']); echo ctbag_awards(['title' => __('Awards', 'your-textdomain')]); echo ctbag_gallery(['title' => __('Gallery', 'your-textdomain'), 'lightbox' => '1']);

Professional Admin UI

All brand meta fields are presented in a clean, card-based admin interface grouped by module (HTML Description, Custom Fields, Awards, Gallery), with collapsible shortcode reference built in. Custom fields and awards support drag & drop reordering. Gallery images can be removed individually (× button on hover) and reordered by dragging.

無料有料プラン
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 6.9.4
このプラグインをダウンロードして、 サイトに使用できます。