0

I'm trying to hide the home navigation link from the theme boilerplate that I downloaded from underscores.me. Wordpress codex says that its not shown by default, but whether I do this:

<?php wp_page_menu( array( 'show_home' => true ) ); ?>

Or this:

 <?php wp_page_menu( array( 'show_home' => false ) ); ?>

It still shows the home page nav link. When I don't call the wp_page_menu function it doesn't display the menus so I know its the one that's outputting it. Any ideas what's wrong and what else could I try? Thanks in advance!

1
  • Have you tried with a custom menu? – Chittaranjan Dec 10 '13 at 8:09
1

If all else fails, you could use a CSS approach. Try display: none;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.