WP nav question
WP nav question
Out of context: Reply #8
- Started
- Last post
- 11 Responses
- bulletfactory0
sometimes it's easier to do a hybrid of hardcode/dynamic.... example:
<?php if (is_page('About') || is_page('Contact')) { ?>
<ul class="subnav">
<li><a href="<?php echo bloginfo('url'); ?>/whatever.pdf" title="link">link</a></li>
</ul>
<?php } ?>hope that helps.... and was what you were asking.
- this would be in sidebar.php or wherever your nav sits. this entire code would also be surrounded by another list item (nested)bulletfactory