Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter karll10

    (@karll10)

    Its ok, i just noticed an earlier post with the same issue and now have it resolved, thanks anyway…

    Plugin Author HelgaTheViking

    (@helgatheviking)

    Glad you found it. The subtitle is not added automatically so that you have full control over where it is displayed in your theme… and because adding it automatically would not have proper markup.

    For any one’s future reference:

    function kia_add_subtitle_to_woocommerce(){
        if( function_exists( 'the_subtitle' ) ) the_subtitle( '<h2 class="subtitle">', '</h2>' );
    }
    add_action( 'woocommerce_single_product_summary', 'kia_add_subtitle_to_woocommerce', 7 );

    I will try to add this to the FAQ later on.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Subtitle not showing on woocommerce product page’ is closed to new replies.