Viewing 1 replies (of 1 total)
  • Hi,
    I see you downgraded your customizr version.
    If you want to update it to the latest version add this code to your child-theme functions.php:

    add_action('wp', 'wp_e_commerce_patch', 100);
    function wp_e_commerce_patch(){
        if ( ! ( class_exists('WP_eCommerce') && class_exists('TC_header_main')) )
            return;
        if ( ! ( method_exists( 'TC_header_main', 'tc_set_header_hooks') &&
            method_exists( 'TC_header_main', 'tc_set_header_options') ) )
            return;
    
        remove_action('template_redirect', array(TC_header_main::$instance, 'tc_set_header_hooks'));
        remove_action('template_redirect', array(TC_header_main::$instance, 'tc_set_header_options'));
    
        add_action('template_redirect', array(TC_header_main::$instance, 'tc_set_header_hooks'), 0);
        add_action('template_redirect', array(TC_header_main::$instance, 'tc_set_header_options'), 1);
    
        if ( method_exists('TC_headings', 'tc_content_heading_title') )
            remove_filter('the_title', array(TC_Headings::$instance, 'tc_content_heading_title'), 0);
    
        if ( method_exists('TC_headings', 'tc_add_edit_link_after_title') )
            remove_filter('the_title', array(TC_Headings::$instance, 'tc_add_edit_link_after_title'), 2);
    
        if ( method_exists('TC_headings', 'tc_add_comment_bubble_after_title') )
            remove_filter('the_title', array(TC_Headings::$instance, 'tc_add_comment_bubble_after_title'), 1);
    }

    There’s still a problem since this plugin prints customizr custom fields in products posts, but I think is a plugin issue, and you should contact them about that.

Viewing 1 replies (of 1 total)
  • The topic ‘Latest Theme update broke the CSS tothe WP eCommerce plugin – please help!’ is closed to new replies.