remove nav menu at the top (5 posts)

  1. zarecom
    Posted 3 years ago #

    How can remove (not show) the navigation menu at the very top right of the page? Website is http://www.hostelpartyworld.com and I am using Adventure journal theme. Thanks

  2. Odai Athamneh
    Posted 3 years ago #


    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!

  3. zarecom
    Posted 3 years ago #

    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

  4. Odai Athamneh
    Posted 3 years ago #

    Oh, so you mean where it says:


    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.

  5. zarecom
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic