Custom Taxonomy Filter Issues
I believe that the problem is with this line: $var = &$query->query_vars[$tax_slug]; &$query is not necessary, simle $query should be enaught. $query->query->vars[$tax_slug] returns not an ID of term, but term’s slug So $term = get_term_by( ‘id’, $var, $tax_slug ); should be changed to $term = get_term_by( ‘slug’, $var, $tax_slug ); But is not necessary as … Read more