I want to display a specific header for specific pages.
I can get this to work for immediate children of a page - i.e.
<?php if ( is_page('americas') || $post->post_parent == '2348') { ?>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/includes/css/styles-americas.css" />
So - when I see a page that is a child of the page Americas (id: 2348) it displays the proper header.
But, how do I set it up so that when I see a page that is a "grandchild" of Americas the header also displays properly?
My hierarchy is something like this:
parent page = Americas
child page = Virginia
grandchild page = Arlington
right now the code above only works when I view "Virginia"; I also want it to work when I view "Arlington".
Make sense? Thanks in advance for any input/guidance.