| Server IP : 176.9.105.210 / Your IP : 216.73.217.21 Web Server : Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips System : Linux server.mediaphic.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : freelife ( 1356) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,show_source,mail,sendmail,popen,symlink,phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/freelife/public_html/wp-content/themes/betheme/ |
Upload File : |
<?php
// 1. from product
// 2. by conditions (cat, tag)
// 3. from theme options by default
if( function_exists( 'mfn_ID' ) ){
$tmp_id = mfn_ID();
}
if( ( empty($_GET['visual']) || !empty($_GET['mfn-template-id']) ) && isset( $tmp_id ) && is_numeric( $tmp_id ) && get_post_type( $tmp_id ) == 'template' ){
echo '<div class="'. implode(' ', wc_get_product_class( 'mfn-single-product-tmpl-wrapper', get_the_ID() )) .'">';
echo '<div class="section_wrapper clearfix">';
do_action( 'woocommerce_before_single_product' );
echo '</div>';
$mfn_builder = new Mfn_Builder_Front( $tmp_id );
$mfn_builder->show();
echo '<div class="section_wrapper 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 clearfix">';
woocommerce_content();
echo '</div>';
echo '</div>';
}
?>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-16652253467"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-16652253467');
</script>