WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Custom Product Tabs Lite
[resolved] Remove description inside tab (4 posts)

  1. mojodesign
    Member
    Posted 12 months ago #

    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...)

  2. SkyVerge
    Member
    Plugin Author

    Posted 12 months ago #

    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

  3. mojodesign
    Member
    Posted 12 months ago #

    Thanks!
    I'm gonna try that...as soon as I get my site working again...deleted Super Cache, and now the site is gone!!! :(

  4. mojodesign
    Member
    Posted 12 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic