Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Footer Menu

Started by Muut Archive 11 years ago · 4 replies · 925 views
11 years ago

Grav has the ability to not-/show pages in the main menu, but is there anything that allows being able to specify pages should instead be shown in another (say footer) menu? Pages like, Privacy, FAQ, etc. are often secondary, so while they don't need to be in the main menu, that still need to be readily accessible.

Forgive me this is covered somewhere, I have only been playing with Grav a few days, and am still getting my head around it.

11 years ago

you can use taxonomy to assign certain pages to another menu, or simply create a twig template wth your footer links coded directly in there .

11 years ago

Taxonomy idea seem to be a good one. Saves having to modify hard-links

11 years ago

Yah it sort of depends on how often you plan on modifying those links. Hardcoding is easier, but taxonomy is certainly more flexible.

11 years ago

In this case, the links are going to be pretty much permanent, so hard-coding is probably simpler.
However, the taxonomy thing (as alluded to at http://learn.grav.org) does open up new possibilities in content grouping. As you say, definitely more flexible.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1280 9 years ago
Archive · by Muut Archive, 9 years ago
2 888 9 years ago
Archive · by Muut Archive, 9 years ago
2 4016 9 years ago
Archive · by Muut Archive, 9 years ago
1 2892 9 years ago
Archive · by Muut Archive, 9 years ago
3 1076 9 years ago