To define same action for 2 or more categories
-
if ( in_category('18') ) { action... }
and as I do to define that same action for more categories? I tried:
if ( in_category('18,19,20') ) { action... }
but it didn’t work.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘To define same action for 2 or more categories’ is closed to new replies.