Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m posting my reply again because a mod removed it on false terms. This is a solution not “Me too” comment.

    I had the same issue and found the following solution…

    First (if you haven’t already) create a theme.json file in your theme folder and add the below contents:

    {
      "version": 1,
      "settings": {
        "color": {
          "duotone": null
        }
      }
    }

    I also found the update was printing a bunch of unwanted CSS variables in the frontend header which can be removed with:

    add_action( 'wp_enqueue_scripts', function() {
        wp_dequeue_style( 'global-styles' );
    } );
    Thread Starter thelevicole

    (@thelevicole)

    I’ve implemented a quick fix my end with the following…

    if ( class_exists( 'Yikes_Custom_Taxonomy_Order' ) && wp_doing_ajax() ) {
        add_filter( 'terms_clauses', [ Yikes_Custom_Taxonomy_Order::get_instance(), 'set_tax_order' ], 15, 3 );
    }
    
    $terms = get_terms( $args );
    
    if ( class_exists( 'Yikes_Custom_Taxonomy_Order' ) && wp_doing_ajax() ) {
        remove_filter( 'terms_clauses', [ Yikes_Custom_Taxonomy_Order::get_instance(), 'set_tax_order' ], 15 );
    }
Viewing 2 replies - 1 through 2 (of 2 total)