Custom title in menu


Please, I would need some help to add a custom title in menu to present the category (without using the parent page title)


  • parent page
  • sub 1

Thank you

I would create a folder structure like this:

  - category/
    - category.txt
    - parentpage/
      - parentpage.txt
      - subpage/
        - subpage.txt

And then use the category page’s title:

  <?php foreach($pages as $category) : ?>
      <?php echo $category->title() ?>
        <?php foreach($category->children() as $entry) : ?>
        <?php echo $entry->title() ?>
        // … what's more for a submenu e.g. 

Hello distantnative,

Thank you very much for help. I’ll do it this way.