I have a parent category:
News
And under that categories I have sub categories
Sports, Featured, & Breaking
I'm using is_category('news'); to check whether the current page is the News, however if the user lands on one of the posts from the children categories sports, featured & breaking, I'd like to check to see if the parent is News with an if statement.
I have looked through the Codex and have not been able to find the code to accomplish this. Any suggestions?
Thanks!