• Resolved akintern

    (@akintern)


    Hi all!
    Currently I have this snippet of code in my child theme’s functions.php file in order to allow me to manually select the skin color I would like to use for each page.

    /*
    * Code to select skin type
    */
    add_filter(‘tc_get_option’, ‘my_skin’, 20, 2);
    function my_skin($value, $option){
    if ( $option != ‘tc_skin’ )
    return $value;
    global $post;
    if ( isset($post) && $skin=get_post_meta($post->ID, ‘skin’, ‘true’)){
    return $skin.’.css’;
    }
    return $value;
    }

    The problem right now is that this code does not seem to work with the latest version of Customizr. Does anybody know how I can make this work?

    Thanks in advance,
    Jenny

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Code in child theme's functions.php not working for Customizr 3.3.12’ is closed to new replies.