Haluk Karamete
2014-01-24 00:13:21 UTC
is_archive() returns TRUE as expectedly when
is_category(),
is_tag()
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()
is_category(),
is_tag()
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()