We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To determine if current page is terms archive one of the checks is whether the current page query returns any terms.
If there are no terms, is_terms_archive() will return false which means 404 isn't preempted and main query isn't squashed.
is_terms_archive()
Additionally, many template tags (like have_terms()) wont work b/c they first check is_terms_archive().
have_terms()
I think it is as simple as removing the check 1 > count( $this->loop->get_terms() ) in the endpoints class but needs more investigation.
1 > count( $this->loop->get_terms() )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To determine if current page is terms archive one of the checks is whether the current page query returns any terms.
If there are no terms,
is_terms_archive()
will return false which means 404 isn't preempted and main query isn't squashed.Additionally, many template tags (like
have_terms()
) wont work b/c they first checkis_terms_archive()
.I think it is as simple as removing the check
1 > count( $this->loop->get_terms() )
in the endpoints class but needs more investigation.The text was updated successfully, but these errors were encountered: