Linux 软件免费装
Banner图

Mad Cow Product Tabs for WooCommerce

开发者 jrobie23
更新时间 2026年9月24日 22:09
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce product tabs tabs product page custom tabs

下载

1.0.5

详情介绍:

Mad Cow Product Tabs for WooCommerce gives you control over the tabs on your WooCommerce product pages. Turn off the Description, Additional Information or Reviews tabs, change the order they appear in, and add as many custom tabs as you need. Each custom tab can be shown on every product, only on products in chosen categories, or only on products you pick individually. Here is a quick overview: [youtube https://www.youtube.com/watch?v=QyenOoFUV90] Default tabs Custom tabs Visibility options Default tab priorities Description is 10, Additional Information is 20, and Reviews is 30. Set a custom tab's priority relative to those to control where it lands. Requirements WooCommerce 7.0 or later must be installed and active. The plugin is compatible with High-Performance Order Storage (HPOS).

安装:

  1. Upload the mad-cow-product-tabs-for-woocommerce folder to /wp-content/plugins/, or install the plugin through the Plugins screen.
  2. Activate the plugin through the Plugins screen.
  3. Go to WooCommerce > MCW Product Tabs to configure.

屏幕截图:

  • A custom tab on the front end of a product page.
  • Per-product overrides in the product editor, for enabling or disabling any tab on a single product.

升级注意事项:

1.0.4 Fixes backslashes accumulating in tab content on repeated saves. Updates now come from WordPress.org.

常见问题:

Does this work with the block-based product page?

The plugin uses the standard woocommerce_product_tabs filter, which the classic product template uses. Product pages built entirely from blocks may not render the tabs area at all, in which case there is nothing for the plugin to modify.

Can I use shortcodes in a custom tab?

Yes. Tab content runs through the same filters as post content, so shortcodes and embeds work.

Why is my custom tab not showing?

Check its visibility setting. A tab set to Product Specific appears only on products where you have enabled it in the product editor, and a tab set to None (Hidden) never appears on the front end.

Can I hide a tab on just one product?

Yes. Edit the product and use the MCW Product Tabs meta box to enable or disable any default or custom tab for that product only.

Can I change a tab's content per product?

No. Tab content is defined once in the settings; per-product control covers whether a tab appears, not what it contains.

Is there a filter for tab content?

Yes, mcwmst_custom_tab_content receives the content and the tab ID. add_filter( 'mcwmst_custom_tab_content', 'my_tab_cta', 10, 2 ); function my_tab_cta( $content, $tab_id ) { return $content . '<p><a href="/contact/">Questions? Contact us.</a></p>'; }

更新日志:

1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0