Hide one page from menu

I am trying to hide a page called ‘software’ from menu of the Kirby. I have tried question passed in the previous but couldnt do it. Please let me know a better way. Thank you

What is your code for the menu? Are you showing visible pages only? You could then make the software page invisible. Or you can leave it out.

foreach ($pages->visible()->not('software') as $page):
  // do stuff
endforeach

But the right code depends on where your page is in the page tree…

I have seen this code already, but I am not sure where to put this code. Thank you for the patience, as I am totally new to Kirby

Ok, so what is your starting point, the Starterkit? Do you want to make the changes there?

The menu is located in /site/snippets/menu.php (https://github.com/getkirby-v2/starterkit/blob/master/site/snippets/menu.php)

<nav class="navigation column" role="navigation">
  <ul class="menu">
    <?php foreach($pages->visible()->not('software') as $item): ?>
    <li class="menu-item<?= r($item->isOpen(), ' is-active') ?>">
      <a href="<?= $item->url() ?>"><?= $item->title()->html() ?></a>
    </li>
    <?php endforeach ?>
  </ul>
</nav>

Are you really using Kirby 2?

I am using the latest version of kirby. Is there any other way, because Adding this piece of code is messing my everything. here what i already have in my menu.php

     <div class="container">
     <div class="level is-mobile branding is-hidden-touch">
    <div class="level-left">
      <div class="level-item">
        <div class="navbar-brand">
          <?php if($img = $site->logo()->toFile()): ?>
          <a class="navbar-item" href="<?= $site->url() ?>">
            <figure role="group">
              <?= $img ?>
            </figure>
          </a>
          <?php endif ?>
        </div>
      </div>
    </div>
    <div class="level-right branding-info">
      <?php foreach($site->headerInfo()->toStructure() as $item): ?>
      <div class="level-item">
        <div class="media">
          <div class="media-content">
            <div class="content">
              <p>
                <?= $item->title() ?>
                <br>
                <strong>
                  <?= $item->desc() ?></strong>
              </p>
            </div>
          </div>
        </div>
      </div>
      <?php endforeach ?>
    </div>
  </div>
  
  <!-- Navbar -->
  <nav class="navbar">
    <div class="navbar-brand is-vcentered">
                   <?php if($img = $site->logo()->toFile()): ?>
                 <a class="navbar-item is-hidden-desktop" href="<?= $site->url() ?>">
        <figure role="group">
          <?= $img ?>
        </figure>
      </a>
      <?php endif ?>
      <div class="navbar-burger burger" data-target="navMenu">
        <span></span>
        <span></span>
        <span></span>
      </div>
    </div>
    <div class="navbar-menu" id="navMenu">
      <div class="navbar-start">
        <!-- Navbar Links -->
        <?php foreach ($site->children()->listed() as $p): ?>

        <?php if ($p->menu() == "yes" && ($p->hasvisibleChildren() && $p->template() != 'default')): ?>
        <div class="navbar-item has-dropdown is-hoverable">
          <a class="navbar-link <?php e($p->isOpen(), 'is-active') ?>" href="<?= $p->url() ?>">
            <?= $p->title() ?>
          </a>

          <div class="navbar-dropdown">
            <?php if($p->template() == "blog"): ?>
              <?php foreach($p->children()->flip()->listed()->limit(10) as $n): ?>
              <a class="navbar-item <?= e($n->isOpen(), 'is-active') ?>" href="<?= $n->url() ?>">
                <?= $n->title() ?>
              </a>
              <?php endforeach ?>
            <?php else: ?>
              <?php foreach($p->children()->flip()->listed() as $n): ?>
              <a class="navbar-item <?= e($n->isOpen(), 'is-active') ?>" href="<?= $n->url() ?>">
                <?= $n->title() ?>
              </a>
              <?php endforeach ?>
            <?php endif ?>
          </div>
        </div>

        <?php else: ?>

        <a class="navbar-item <?php e($p->isOpen(), 'is-active') ?>" href="<?= $p->url() ?>">
          <?= $p->title() ?>
        </a>

        <?php endif ?>

        <?php endforeach ?>
      </div>
    </div>
  </nav>
</div>
<?php foreach ($site->children()->listed()->not('software') as $p): ?>

Provided your software page is on the first level and not a subpage.

Worked Like a Charm! Thank you