In Wordpress I want to call a specific secondary menu in the event a page called foo is called. I've got this beviour working by using the following:
<?php if (is_page('foo') ) : ?>
<!-- NAV HTML -->
<?php endif; ?>
However I'd like this same secondary menu to be shown on some other pages, such as foo2 which I can currently call by recycling most of the above:
<?php if (is_page('foo2') ) : ?>
<!-- NAV HTML -->
<?php endif; ?>
What would be the best way to join these statements? For instance doesnt work:
<?php if (is_page('foo','foo2') ) : ?>