该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Product Subtitle For WooCommerce

描述

Product Subtitle For WooCommerce allows you to easily add a subtitle to your products. also provides various options to customize the output.

You can also use the shortcode [wc-ps] to display it within the post content or where ever you need.

It adds a simple input field right under the title field for products. It also add a subtitle column to the edit screen.

WPML Ready

Product Subtitle For WooCommerce has been tested by WPML and will allow you to translate the subtitle multilingual sites.

Shortcode Options

  • Post ID : [wc-ps id="99"]
  • Element : [wc-ps tag="p"] | [wc-ps tag="h1"] | [wc-ps tag="span"]
  • Avaiable Tags : P, SMALL, SPAN, H1, H2, H3, H4, H5, H6

Settings Under : WooCommerce => Product Subtitle For WooCommerce

How do I style the subtitle?

You can style the subtitle with the below css class
Global : product-subtitle
Product Specific : subtitle-99

屏幕截图

  • Settings Menu
  • General Settings
  • All Settings
  • Shortcode Settings
  • New Product Subtitle
  • Edit Product Subtitle
  • Subtitle In WPEditor
  • Subtitle In Product List Table
  • Cart Page
  • Mini Cart
  • Checkout Page
  • Order Details Page
  • Shop Page
  • Single Product Page
  • Admin Order Page

安装

中等需求

  • WordPress 3.8 或更高
  • PHP 5.2.4 或更新版本
  • MySQL 5.0 或更新版本

自动安装

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of Product Subtitle For WooCommerce, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “Product Subtitle For WooCommerce” and click Search Plugins. Once you’ve found our plugin you can view details about it such as the the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”

手动安装

The manual installation method involves downloading our plugin and uploading it to your Web Server via your favourite FTP application. The WordPress codex contains instructions on how to do this here.

  1. Installing alternatives:

    • via Admin Dashboard:
    • Go to ‘Plugins > Add New’, search for “Product Subtitle For WooCommerce”, click “install”
    • OR via direct ZIP upload:
    • Upload the ZIP package via ‘Plugins > Add New > Upload’ in your WP Admin
    • OR via FTP upload:
    • Upload wc-product-subtitle folder to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件

常见问题

How do I style the subtitle?

You can style the subtitle with the below css class

Global : product-subtitle

Product Specific : subtitle-99

评价

2021年6月24日 1 回复
In my last site i paid $$$ for the manual code..i am very happy.. [Moderated: Link removed from review]
2021年5月17日
SUBLITLE IS SHOWING VERTICALLY L E T T E R B Y L E T T E R LIKE THIS IN extreme right of PRODUCT PAGE... ALSO... Fatal error in system info: Fatal error : Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\abstract\abstract-field.php:382 Stack trace: #0 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\abstract\abstract-field.php(382): method_exists(Array, 'containers') #1 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\abstract\field\abstract-error.php(24): WPOnion\Field->name() #2 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\abstract\abstract-field.php(41): WPOnion\Bridge\Field\Error->get_errors() #3 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\functions\field.php(154): WPOnion\Field->__construct(Array, Array, '') #4 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\functions\field.php(183): wponion_field(Array, Array, '') #5 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\wp\sysinfo\class-sysinfo.php(81): wponion_add_element(Array) #6 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\wp\sysinfo\class-sysinfo.php(31): WPOnion\WP\Sysinfo\Sysinfo::render_html(Array, Array, Object(WPO\Container)) #7 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\functions\modules.php(87): WPOnion\WP\Sysinfo\Sysinfo::get(Object(WPO\Container)) #8 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\functions\utilities.php(77): wponion_sysinfo(Object(WPO\Container)) #9 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\includes\templates\global\parts\settings\content.php(56): wponion_callback('wponion_sysinfo', Array) #10 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\includes\templates\global\settings.php(11): include('F:\\XAAMP\\htdocs...') #11 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\includes\templates\wp\settings.php(4): include('F:\\XAAMP\\htdocs...') #12 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\abstract\abstract-theme-api.php(133): include('F:\\XAAMP\\htdocs...') #13 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\modules\settings\class-settings.php(223): WPOnion\Theme_API->render() #14 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\functions\utilities.php(77): WPOnion\Modules\Settings\Settings->render(Object(WPOnion\Modules\Admin\Page)) #15 F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\modules\admin\class-page.php(550): wponion_callback(Array, Array) #16 F:\XAAMP\htdocs\janatabookstall\wp-includes\class-wp-hook.php(292): WPOnion\Modules\Admin\Page->render('') #17 F:\XAAMP\htdocs\janatabookstall\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #18 F:\XAAMP\htdocs\janatabookstall\wp-includes\plugin.php(484): WP_Hook->do_action(Array) #19 F:\XAAMP\htdocs\janatabookstall\wp-admin\admin.php(259): do_action('woocommerce_pag...') #20 {main} thrown in F:\XAAMP\htdocs\janatabookstall\wp-content\plugins\wc-product-subtitle\vendor\wponion\wponion\core\abstract\abstract-field.php on line 382
阅读所有32条评价

贡献者及开发者

“Product Subtitle For WooCommerce” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Product Subtitle For WooCommerce”插件已被翻译至2种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Product Subtitle For WooCommerce”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

4.6.2

  • Added Option to enable product link in subtitle
  • Tested : With Latest WP 5.9.3
  • Tested : With Latest WC 6.5.1

4.6.1

  • Improved Content Escaping

4.6

  • Renamed wp_product_subtitle_placements to wcps_subtitle_placement_areas
  • Renamed wc_product_subtitle_default_tags to wcps_subtitle_default_tags
  • Renamed wc_product_subtitle_tags to wcps_subtitle_tags
  • Renamed update_product_subttile to wcps_update_subtitle
  • Renamed get_product_subtitle to wcps_get_subtitle
  • Removed the_product_subtitle

4.5.3

  • Fixed All Security Issues Reported By WordPress.org Team
  • Tested : With Latest WP 5.9
  • Tested : With Latest WC 6.1.1

4.5.2

  • Updated WPOnion To 1.5.3.7
  • Updated VSP Framework To 1.8.9.8
  • Tested : With Latest WP 5.7
  • Tested : With Latest WC 5.1.0

4.5.1

  • Fixed : https://github.com/wponion/wponion/issues/252
  • Updated WPOnion To 1.5.2

4.5

4.4.3

  • Updated VSP Framework To 0.8.5
  • Updated WPOnion To 1.4.5.3

4.4.2

  • Updated VSP Framework To 0.8.4
  • Updated WPOnion To 1.4.5.2

4.4.1

  • Fixed : Minor release bug.

4.4

  • Updated VSP Framework To 0.8.0
  • Updated WPOnion To 1.4.5
  • Tested : With Latest WP
  • Tested : With Latest WC

4.3

  • Fixed : HTML Subtitle Display Issue
  • Updated VSP Framework To 0.7.9
  • Updated WPOnion To 1.4.0
  • Tested : With Latest WP
  • Tested : With Latest WC

4.2.1

  • Added : Option to remove subtitle from WooCommerce PDF Invoices / Packing Slips.
  • Updated WPOnion To 1.3.7

4.2

  • Updated VSP Framework To 0.7.7 which fixes a major vulnerability

4.1

  • Fixed : Subtitle shown even if its set to disabled for single product page
  • Updated WPOnion To 1.3.6
  • Updated VSP Framework To 0.7.6
  • Tested With WordPress 5.2.3
  • Tested With WooCommerce 3.7.0

4.0

  • Plugin Fully Redeveloped From Ground
  • Added Mini Cart Support
  • Added Eamil Support
  • Added Option To Switch Textfield Into WP Editor
  • Used WPOnion 1.3.3
  • Used VSP Framework 0.7.3

3.1

  • Fixed : Reported Issue @ https://wordpress.org/support/topic/fatal-problem-with-site-language-and-permalinks-when-updating-to-version-3-0/

3.0

  • Total Plugin Redeveloped
  • Migrated To Our Speedy Custom Framework.
  • Added Option for subtitle column in product listing page
  • Fixed Issue (https://github.com/varunsridharan/wc-product-subtitle/issues/6)

2.3

  • Minor Bug Fixed
  • Tested With Latest WooCommerce & WordPress

2.2

  • Fixed Issues with Email
  • Checked with latest wordpress & woocommerce version.

2.1

  • Fixed Settings Page Issue.
  • Minor Bug Fix
  • Tested With latest WooCommerce & WordPress

2.0

  • Total Plugin Redeveloped
  • Added Option To Show In Cart Page
  • Added Option To Show In Checkout Page
  • Added Option To Show In Email Page
  • Added Option To Show In My Account Order View Page

1.0

  • Base Version