Combining Conditional Tags
-
Hi,
I’m trying to combine some conditional tags and can’t figure out why this particular combination isn’t working for the second half (it works for the tags part but not the single posts in categories). This is what I have:
if( is_tag( array(10743, 10746, 10737, 10739, 10741, 10744, 10740, 10742, 10745)) || (is_single() && in_category( array( 115,181,460 ) )) )
Any help would be great.
Thanks,
Luke
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Combining Conditional Tags’ is closed to new replies.