Plugin Directory

Changeset 3843376


Ignore:
Timestamp:
12/03/2026 08:57:43 PM (20 hours ago)
Author:
helgatheviking
Message:

Updating readme/assets from GitHub

Location:
kia-subtitle
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kia-subtitle/tags/4.2.0/readme.txt

    r3841185 r3843376  
    179179
    180180Yes! WooCommerce support is built in since version 4.2.0, so the old bridge plugin is no longer needed. See the WooCommerce support section in the description.
     181
     182= Why do I see the subtitle twice on my WooCommerce products? =
     183
     184Since version 4.2.0, KIA Subtitle adds the subtitle to WooCommerce's default template hooks on classic themes. If you already show the subtitle another way, you'll get it twice. Common causes are:
     185
     186* Custom code in your theme's `functions.php` or a code snippets plugin, such as code copied from the old KIA Subtitle + WooCommerce Bridge plugin.
     187* A theme (such as Ocean WP) or page builder that outputs the subtitle through its own WooCommerce hooks or templates.
     188
     189You can remove that custom code, or keep it and switch off KIA Subtitle's built-in output by adding this to your `functions.php`:
     190`
     191add_filter( 'kia_subtitle_woocommerce_template_hooks', '__return_false' );
     192`
     193
     194That covers the single product page, shop loops and shop page. If the subtitle is also doubled in the cart, checkout, orders or emails, add these too:
     195`
     196add_filter( 'kia_subtitle_woocommerce_show_in_cart', '__return_false' );
     197add_filter( 'kia_subtitle_woocommerce_show_in_orders', '__return_false' );
     198`
    181199
    182200= Can I add the subtitle to the page title tag? =
  • kia-subtitle/trunk/readme.txt

    r3841185 r3843376  
    179179
    180180Yes! WooCommerce support is built in since version 4.2.0, so the old bridge plugin is no longer needed. See the WooCommerce support section in the description.
     181
     182= Why do I see the subtitle twice on my WooCommerce products? =
     183
     184Since version 4.2.0, KIA Subtitle adds the subtitle to WooCommerce's default template hooks on classic themes. If you already show the subtitle another way, you'll get it twice. Common causes are:
     185
     186* Custom code in your theme's `functions.php` or a code snippets plugin, such as code copied from the old KIA Subtitle + WooCommerce Bridge plugin.
     187* A theme (such as Ocean WP) or page builder that outputs the subtitle through its own WooCommerce hooks or templates.
     188
     189You can remove that custom code, or keep it and switch off KIA Subtitle's built-in output by adding this to your `functions.php`:
     190`
     191add_filter( 'kia_subtitle_woocommerce_template_hooks', '__return_false' );
     192`
     193
     194That covers the single product page, shop loops and shop page. If the subtitle is also doubled in the cart, checkout, orders or emails, add these too:
     195`
     196add_filter( 'kia_subtitle_woocommerce_show_in_cart', '__return_false' );
     197add_filter( 'kia_subtitle_woocommerce_show_in_orders', '__return_false' );
     198`
    181199
    182200= Can I add the subtitle to the page title tag? =
Note: See TracChangeset for help on using the changeset viewer.