C:\xampp\htdocs\landing\wp-content\updraft\themes-old\pennews_\inc\custom-css\woo.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

if ( function_exists'penci_customizer_woo' ) ) {
    return;
}
function 
penci_customizer_woo() {

    
$css '';

    if ( ! 
class_exists'WooCommerce' ) ) {
        return 
'';
    }

    
$shortcode_dis_bg penci_get_theme_mod'penci_woo_shortcode_dis_bg' );
    
$shortcode_bg     penci_get_theme_mod'penci_woo_shortcode_bg' );

    if ( 
$shortcode_dis_bg ) {
        
$css .= '.vc_row .woocommerce{ background: transparent; }';
    }

    if ( 
$shortcode_bg ) {
        
$css .= sprintf'.vc_row .woocommerce{ background-color:%s; }'esc_attr$shortcode_bg ) );
    }

    return 
$css;
}
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586