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

    (@diana_burduja)

    I’m afraid that would require several changes. I recommend you hire a programmer to do this customization.

    As this is not a feature request or a bug I will close the topic.

    Thread Starter bpl

    (@bpl)

    Hello, I was able to do it by reinserting the original code from woocommerce\templates\single-product\tabs\tabs.php into woocommerce-extend-tabs/tabs-template.php

    if ( ! empty( $tabs ) ) : ?>

    <div class=”woocommerce-tabs wc-tabs-wrapper”>
    <ul class=”tabs wc-tabs”>
    <?php foreach ( $tabs as $key => $tab ) : ?>
    <li class=”<?php echo esc_attr( $key ); ?>_tab”>
    “><?php echo apply_filters( ‘woocommerce_product_’ . $key . ‘_tab_title’, esc_html( $tab[‘title’] ), $key ); ?>

    <?php endforeach; ?>

    <?php foreach ( $tabs as $key => $tab ) : ?>
    <div class=”panel entry-content wc-tab” id=”tab-<?php echo esc_attr( $key ); ?>”>
    <?php call_user_func( $tab[‘callback’], $key, $tab ); ?>
    </div>
    <?php endforeach; ?>
    </div>

    Plugin Author SilkyPress

    (@diana_burduja)

    Yes, exactly ??

    I wasn’t sure how comfortable you are with making changes in a PHP file and explaining here that you need to reinsert the original code in the tabs template could’ve lead to long discussions.

    I’m glad you figured it out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Expand all Tabs but Continue Printing Tab Selection Menu’ is closed to new replies.