芝麻web文件管理V1.00
编辑当前文件:/home/soundframestudio/smith.soundframestudios.net/wp-content/themes/betheme/header-shop.php
'; else: ?> class="no-js " >
css(); } if( !empty( get_post_meta(get_the_ID(), 'mfn-post-js', true) ) ) echo get_post_meta(get_the_ID(), 'mfn-post-js', true); ?> >
$mfn_global['header'], 'visual' => $is_visual) ); function mfn_woocommerce_show_page_title(){ return false; } add_filter('woocommerce_show_page_title', 'mfn_woocommerce_show_page_title'); }else{ // featured image: parallax $class = ''; $data_parallax = array(); if (mfn_opts_get('img-subheader-attachment') == 'parallax') { $class = 'bg-parallax'; if (mfn_opts_get('parallax') == 'stellar') { $data_parallax['key'] = 'data-stellar-background-ratio'; $data_parallax['value'] = '0.5'; } else { $data_parallax['key'] = 'data-enllax-ratio'; $data_parallax['value'] = '0.3'; } } $shop_id = mfn_ID(); if (mfn_header_style(true) == 'header-below') { if (is_shop() || (mfn_opts_get('shop-slider') == 'all')) { echo mfn_slider($shop_id); } } ?>
> '; if ( has_nav_menu('skip-links-menu') ) { mfn_wp_accessibility_skip_links(); } if ( 'header-creative' != mfn_header_style(true) ) { // NOT header creative if( 'header-shop' == mfn_header_style(true) ){ // header style: shop get_template_part('includes/header', 'style-shop'); } elseif( 'header-shop-split' == mfn_header_style(true) ){ // header style: shop split get_template_part('includes/header', 'style-shop-split'); } else { // default headers get_template_part('includes/header', 'top-area'); } } if ( 'header-below' != mfn_header_style(true) ) { // header below if ( function_exists('is_shop') && is_shop() || ( 'all' == mfn_opts_get('shop-slider') ) ) { echo mfn_slider($shop_id); } } echo ''; } ?> '; echo '
'; echo '
'; if ($title_show) { $title_tag = mfn_opts_get('subheader-title-tag', 'h1'); echo '<'. mfn_allowed_title_tag($title_tag) .' class="title">'; if (function_exists('is_product') && is_product() && mfn_opts_get('shop-product-title')) { the_title(); } elseif(function_exists('woocommerce_page_title')){ woocommerce_page_title(); }else{ echo 'Please enable WooCommerce plugin'; } echo ''. mfn_allowed_title_tag($title_tag) .'>'; } if (function_exists('woocommerce_breadcrumb') && $breadcrumbs_show) { $home = mfn_opts_get('translate') ? mfn_opts_get('translate-home', 'Home') : __('Home', 'betheme'); $woo_crumbs_args = apply_filters('woocommerce_breadcrumb_defaults', array( 'delimiter' => false, 'wrap_before' => '
', 'wrap_after' => '
', 'before' => '
', 'after' => '
', 'home' => esc_html($home), )); woocommerce_breadcrumb($woo_crumbs_args); } echo '
'; echo '
'; echo '
'; } } ?>