X7ROOT File Manager
Current Path:
/home/notabjze/pyirates.net/wp-content/themes/betheme
home
/
notabjze
/
pyirates.net
/
wp-content
/
themes
/
betheme
/
ðŸ“
..
📄
404.php
(2.31 KB)
ðŸ“
assets
ðŸ“
bbpress
📄
bbpress.php
(572 B)
📄
changelog.html
(311.78 KB)
📄
comments.php
(1.2 KB)
ðŸ“
css
ðŸ“
fonts
📄
footer.php
(7.68 KB)
ðŸ“
functions
📄
functions.php
(7.78 KB)
📄
header-shop.php
(6.37 KB)
📄
header.php
(2.08 KB)
ðŸ“
images
ðŸ“
includes
📄
index.php
(9.32 KB)
ðŸ“
js
ðŸ“
languages
ðŸ“
muffin-options
📄
page.php
(1.46 KB)
📄
readme.txt
(102 B)
📄
rtl.css
(38.88 KB)
📄
rtl.min.css
(34.99 KB)
📄
screenshot.png
(284.94 KB)
📄
search.php
(6.61 KB)
📄
searchform.php
(1.63 KB)
📄
sidebar.php
(1.09 KB)
📄
single-attachment.php
(742 B)
📄
single-download.php
(4.34 KB)
📄
single-portfolio.php
(2.81 KB)
📄
single-template.php
(5.85 KB)
📄
single.php
(3.22 KB)
📄
style-colors.php
(46.15 KB)
📄
style-one.php
(25.02 KB)
📄
style-responsive.php
(26.81 KB)
📄
style.css
(366 B)
📄
style.php
(52.34 KB)
📄
taxonomy-portfolio-types.php
(5.92 KB)
📄
template-archives.php
(2.04 KB)
📄
template-blank.php
(967 B)
📄
template-portfolio.php
(7.25 KB)
📄
template-shop-archive.php
(1.08 KB)
📄
template-single-product.php
(1.45 KB)
📄
template-sitemap.php
(623 B)
ðŸ“
tribe-events
📄
under-construction.php
(6.24 KB)
ðŸ“
vc_templates
ðŸ“
visual-builder
ðŸ“
woocommerce
📄
woocommerce.php
(1.61 KB)
📄
wpml-config.xml
(39.11 KB)
Editing: template-single-product.php
<?php // 1. from product // 2. by conditions (cat, tag) // 3. from theme options by default global $mfn_global; if( ( empty($_GET['visual']) || !empty($_GET['mfn-template-id']) ) && !empty( $mfn_global['single_product'] ) && is_numeric( $mfn_global['single_product'] ) && get_post_type( $mfn_global['single_product'] ) == 'template' ){ global $product; $classes = ['mfn-single-product-tmpl-wrapper']; if( !empty( get_post_meta(get_the_ID(), '_sold_individually', true) ) && get_post_meta(get_the_ID(), '_sold_individually', true) == 'yes' ){ $classes[] = 'sold-individually'; } if( is_object($product) && method_exists($product, 'get_stock_quantity') ){ $product_quantity = $product->get_stock_quantity(); if( 1 === $product_quantity ){ $classes[] = 'quantity-one'; } } echo '<div class="'. implode(' ', wc_get_product_class( $classes, get_the_ID() )) .'">'; echo '<div class="section_wrapper no-bebuilder-section clearfix">'; do_action( 'woocommerce_before_single_product' ); echo '</div>'; $mfn_builder = new Mfn_Builder_Front( $mfn_global['single_product'] ); $mfn_builder->show(); echo '<div class="section_wrapper no-bebuilder-section clearfix">'; do_action('woocommerce_after_single_product'); echo '</div>'; echo '</div>'; }else{ echo '<div class="section section_product_before_tabs">'; echo '<div class="section_wrapper no-bebuilder-section clearfix">'; woocommerce_content(); echo '</div>'; echo '</div>'; } ?>
Upload File
Create Folder