WordPress.org

Support

Support » Plugins and Hacks » WooCommerce Custom Product Tabs Lite » [Resolved] Remove description inside tab

[Resolved] Remove description inside tab

  • I’m using WP 3.5.2 with a WooTheme and Woocommerce 1.6.6. (because that’s the only version of Woocommerce that’s compatible with the theme).

    I installed your plugin a few minutes ago, and already made a successful tweak, to get 2 tabs…actually works! 😉

    However, I also managed to delete/remove the description inside the original wordpress-tab, through the file “description.php” in /wp-content/plugins/woocommerce/templates/single-product/tabs/, but not inside your the custom-products-tab-lite

    How do I do that?

    Check out the tabs on my website: TABS
    (it’s in Swedish though…hope you understand anyways…)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author SkyVerge

    @skyverge

    Hey mojodesign, you’d want to add something like the following to your theme’s functions.php file:

    add_filter( 'woocommerce_custom_product_tabs_lite_heading', 'wc_custom_product_tabs_lite_remove_heading' );
    function wc_custom_product_tabs_lite_remove_heading( $heading ) {
        return '';
    }

    Hope this helps!

    — Justin

    Thanks!
    I’m gonna try that…as soon as I get my site working again…deleted Super Cache, and now the site is gone!!! 🙁

    Well it worked for ONE of the 2 extra tabs I’ve got…
    How do I remove for all tabs?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Remove description inside tab’ is closed to new replies.
Skip to toolbar