• Resolved kellymarket

    (@kellymarket)


    Will the subtitles work with woocommerce? I’d like to use them on product pages, related products, and the main shop page. When I installed and activated the plugin and inserted text into the subtitle field, nothing is showing up.

    Thanks in advance for any help.

    https://wordpress.org/plugins/subtitles/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Philip Arthur Moore

    (@philiparthurmoore)

    Hi there. In theory it should work perfectly fine but you will need to add support for it. Please see the FAQ section for more information on adding support for custom post types. Thanks.

    Thread Starter kellymarket

    (@kellymarket)

    Thanks for the quick response! I’m good with css, but I’m afraid I’m a bit a lost with the info in the support though when it comes to all the source code files. I tried adding the following to the functions.php file, with no success:

    if ( function_exists( ‘the_subtitle’ ) ) {
    the_subtitle( ‘<p class=”entry-subtitle”>’, ‘</p>’ );
    }

    if ( function_exists( ‘get_the_subtitle’ ) ) {
    echo get_the_subtitle( 35 );
    }

    Am I on the right path? Thanks again for your help. It’s very much appreciated.

    Plugin Author Philip Arthur Moore

    (@philiparthurmoore)

    Just a quick heads up that I’m going to bed now and will answer this in be morning. Thanks for the patience. 🙂

    Plugin Author Philip Arthur Moore

    (@philiparthurmoore)

    Hi Kelly. I am not very familiar with WooCommerce. If you are able to find out the specific slug of the custom post type that the plugin is using, then you would be able to add subtitle support into the custom post type. See this section. The team from WooThemes should be able to provide you with more information about the post type slug that’s being used; once you know that, you should be able to add support into your site. I think that you’d be better off asking for WooCommerce help with this since I am not at all familiar with that plugin, while my plugin simply takes advantage of a single hook, which is quite easy to integrate into a custom post type.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘woocommerce’ is closed to new replies.