Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi!

    Are you comfortable with editing the code of your themes? Unless your theme has the option to disable the navigation menu, you’ll have to edit the code (which can be done with WP’s built-in editor, under the Themes menu).

    In your theme’s index.php file, there’s a certain snip of code that pulls in the nav menu. It looks something like this:

    <?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?>

    Read more about it here.

    All you need to do is “comment it out”, by turning this line into a comment. So your code would look like this:

    <!-- <?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?> -->

    Notice the extra bits I added before and after the line? These make it a comment, so WordPress will ignore it when building your website.

    Good luck!

    Thread Starter zarecom

    (@zarecom)

    i am not sure if I made clear my question, I might made a mistake. I am trying to remove numbers that appear on the top of the page and just to keep the one on the bottom. the one older or newer posts arrows

    Oh, so you mean where it says:

    « OLDER POSTS

    Am I correct? That would still require editing the code, unless your theme has an option to disable it.

    I’m not sure exactly how to remove them (I’ve never done that), but this page might help you find what code you need to remove.

    Thread Starter zarecom

    (@zarecom)

    Thanks a lot! I am familiar with editing. I will try it now

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘remove nav menu at the top’ is closed to new replies.