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
By posting your answer, you agree to the
terms of service.
1 year ago