PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/eastfin/wp-content/themes/kingdom/woocommerce/single-product/tabs/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/eastfin/wp-content/themes/kingdom/woocommerce/single-product/tabs/tabs.php |
<?php /** * Single Product tabs * * @author WooThemes * @package WooCommerce/Templates * @version 2.4.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly /** * Filter tabs and allow third parties to add their own * * Each tab is an array containing title, callback and priority. * @see woocommerce_default_product_tabs() */ $tabs = apply_filters( 'woocommerce_product_tabs', array() ); $kingdom = kingdom(); if ( ! empty( $tabs ) ) : ?> <div class="row"> <div class="kd_tabs col-lg-12 col-sm-12"> <ul class="nav nav-tabs"> <?php $cc = 0; if( isset($kingdom->coreFunctions->settings['layout']["enable_product_description_tab"]) && $kingdom->coreFunctions->settings['layout']["enable_product_description_tab"] == 'false' ){ unset( $tabs['description'] ); } //unset( $tabs['description'] ); foreach ( $tabs as $key => $tab ) : // skip comments template if( $tab['callback'] == 'comments_template' ) continue; ?> <li class="<?php echo esc_attr( $key ) ?>_tab <?php echo $cc == 0 ? 'active': '';?>"> <a href="#tab-<?php echo esc_attr( $key ) ?>"><?php echo apply_filters( 'woocommerce_product_' . $key . '_tab_title', $tab['title'], $key ) ?></a> </li> <?php $cc++; endforeach; ?> </ul> <!-- Tab panes --> <div class="tab-content"> <?php $cc = 0; foreach ( $tabs as $key => $tab ) : // skip comments template if( $tab['callback'] == 'comments_template' ) continue; ?> <div class="entry-content tab-pane <?php echo esc_attr( $cc == 0 ? 'active': '' ); ?>" id="tab-<?php echo esc_attr( $key ) ?>"> <div class="kd_tabs_entry"> <?php call_user_func( $tab['callback'], $key, $tab ) ?> </div> </div> <?php $cc++; endforeach; ?> </div> </div> </div> <?php endif; ?>