DId you check the spelling of “news” ? Maybe the slug is called “News” with a capital “N” ?
Then again, I seem to have a bit of info in the back of my brain, that you can’t conditionalize an include.
Thread Starter
klav
(@klav)
thanks for your reply. I just got it but it’s a really ODD solution. Here’s what i had to do.
On index.php I included “global_navigation,” with
<? include ("global_navigation.php"); ?>
then inside global_navigation i included another with:
<?php if ( is_page('news') ) { include 'navigation_news.php'; } ?>
Now it can see ‘news’ very weird no?