The `if ( is_category() || is_tag() || is_tax() )` should be wrapped in `{}` (or use the `if: endif;` syntax), as indentation suggests.
Currently we'd run into an undefined variable notice.