New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

How to rename a navigation item linking an entry.

Nicolas VARROT April 7, 2021 by Nicolas VARROT

Hello, I've created a navbar menu with the Statamic Navigation feature. Most part of navigation items are pages entries and for some entries I don't want page title as label of my nav items. Some page title are too long and I would to have a short name in the navigation. Of course I can add a "Navbar Title" field in the Page Blueprint and display this field value as label in the template. But I don't like to have Navbar related fields in the page form. I think this kind of ajustement should be done in the Navigation menu and not in the page. Is there a better way to achieve this ?

>>>>>>> Unanswered <<<<<<<
1 Reply
2 Followers