[wp-hackers] is_tax vs is_archive

Haluk Karamete halukkaramete at gmail.com
Fri Jan 24 00:13:21 UTC 2014

is_archive() returns TRUE as expectedly when
or is_date() also returns TRUE.
No issues there...

but if it's a custom taxonomy archive that you are on, ( where is_tax()
would return TRUE ), is_archive() unfortunately returns FALSE.
I don't know why but that's the way it is.

Would the following condition catch the *practical sense of the archive
situation* ?

is_tax() || is_archive()

More information about the wp-hackers mailing list