As terms are added to a vocabulary, I need these terms to be incorporated into a menu with a custom URL structure. For example, I might have the Restaurant Taxonomy
which has the following terms:
- McDonalds
- Taco Bell
- Wendys
I need to have a menu generated that matches a particular pattern with the term names plugged in - this pattern can be arbitrary. For example, I have the pattern /restaurants/<term-name>
would generate a menu with the following links:
- /restaurants/mcdonalds
- /restaurants/taco-bell
- /restaurants/wendys
As terms are added, this menu needs to grow dynamically. How can this be accomplished?