Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter n4moredesign

    (@n4moredesign)

    Thank you Triptripper for your reply!
    I tried the code you provided, but it still does not display the “blog_navigation” menu on the blog page.

    So then, I tried this:

    <?php if(is_page('contact')) { ?>
    	<?php wp_nav_menu( array( 'theme_location' => 'blog_navigation' ) ); ?>
    <?php } else { ?>
    	<?php wp_nav_menu( array( 'theme_location' => 'primary_nav' ) ); ?>
    <?php } ?>

    (Notice the “contact”) And I went to the “contact” page and it displayed the “blog_navigation” menu. I then assigned the “contact” page as the “post page” under “Settings>Reading”and now it wont display the “blog_navigation” menu which makes me think the code is not working because its on the “post page” page.

    And now if you visit the Blog page it displays:

    Parse error: syntax error, unexpected '<' in /home/n4more/public_html/wp-content/themes/pinboard/template-blog.php on line 6

    What else should I try?

Viewing 1 replies (of 1 total)