Hey everyone, a simple question.
I need to add one more category: Events in the if statement along with News which is stated in the code. How can I add it? Thank You very much :)
<?php if (in_category('News')) : ?>
This is the answer :)
<?php if (in_category(array('News', 'Events'))) : ?>
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
1 year ago
Get the weekly newsletter!
see an example newsletter