searchpress icon indicating copy to clipboard operation
searchpress copied to clipboard

Child terms seem to come through as parent/child

Open mboynes opened this issue 9 years ago • 0 comments

Might need to add something like below to this block.

if ( ! empty( $args['terms']['category'] ) && strpos( $args['terms']['category'], '/' ) ) {
    $terms = explode( '/', $args['terms']['category'] );
    $args['terms']['category'] = end( $terms );
}

mboynes avatar Mar 11 '15 16:03 mboynes