WooCommerce Product Subtitle

説明

WooCommerce Product Subtitle 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

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

ショートコードオプション

  • Post ID : [wc-ps id="99"]
  • Element : [wc-ps tag="p"] | ‘[wc-ps tag=”h1″]| '[wc-ps tag="span"] |
  • 使用可能なタグ : P, SMALL, SPAN, H1, H2, H3, H4, H5, H6

Settings Under : WooCommerce => WooCommerce Product Subtitle

How do I style the subtitle?

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

スクリーンショット

  • 設定メニュー
  • カートページ設定
  • チェックアウトページの設定
  • Order Review, My Account Order View & Email Settings
  • ショップページの設定
  • Single Product Page Settings
  • Product Edit Page Field
  • FrontEnd Single Product Page
  • Frontend Shop Page
  • ショートコード

インストール

最小限必須条件

  • WordPress 3.8以上
  • PHP 5.2.4 以上
  • MySQL version 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 WooCommerce Product Subtitle, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “WooCommerce Product Subtitle” 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 “WooCommerce Product Subtitle”, click “install”
    • または直接 ZIP アップロード:
    • Upload the ZIP package via ‘Plugins > Add New > Upload’ in your WP Admin
    • または FTP 経由アップロード:
    • Upload wc-product-subtitle folder to the /wp-content/plugins/ directory
  2. WordPress の「プラグイン」メニューからプラグインを有効化してください

FAQ

Installation Instructions

最小限必須条件

  • WordPress 3.8以上
  • PHP 5.2.4 以上
  • MySQL version 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 WooCommerce Product Subtitle, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “WooCommerce Product Subtitle” 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 “WooCommerce Product Subtitle”, click “install”
    • または直接 ZIP アップロード:
    • Upload the ZIP package via ‘Plugins > Add New > Upload’ in your WP Admin
    • または FTP 経由アップロード:
    • Upload wc-product-subtitle folder to the /wp-content/plugins/ directory
  2. WordPress の「プラグイン」メニューからプラグインを有効化してください

How do I style the subtitle?

You can style the subtitle with the below css class

Global : product-subtitle

Product Specific : subtitle-99

カスタムタグを追加する方法は?

Use the below function to register the tag first

add_filter(‘wc_ps_tags’,’register_custom_tag’);
function register_custom_tag($tags){
$tags[‘tag_slug’] = ‘Tag Name’;
return $tags;
}

Now use the below action to render your own tag (wc_ps_subtitle_{tag_slug})

add_action(‘wc_ps_subtitle_tag_slug’,’render_custom_tag’);
function render_custom_tag($title,$tag,$pid,$defaults) {
echo ‘”.$title.””;
}

function variable details

  • $title : Product’s Subtitle
  • $tag : Call back Tag
  • $pid : Current Product ID
  • $defaults : is array of default class & id for the element

評価

You saved my ASS!

Due to the fact that woocommerce is too silly to add the option for an extra product field on checkout, this works perfectly well. Great Job!

Helpful

Do exactly what it supposed to do and no ads and no popup to collect email and nothing else
15件のレビューをすべて表示

貢献者と開発者

WooCommerce Product Subtitle はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“WooCommerce Product Subtitle” は2ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“WooCommerce Product Subtitle” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

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