Nesting Dynamic Terms
Overview To build a multi-level mega menu structure of automatically generated terms, you can “nest” the [Dynamic Terms] items – that is, create multiple levels of parent/child relationships where the items inherit from one another. This tutorial walks you through setting up a menu with two submenu levels that automatically mirror a taxonomy structure. We’ll use this menu structure: To create this display: The parent [Dynamic Terms] item creates the second level column headers (Tops, Bottoms, Footwear, Accessories), while the child [Dynamic Terms] item creates the content below each header. Key Concepts 1. One level per [Dynamic Terms] item First, it’s important to understand that each [Dynamic Terms] item creates one level in the menu structure hierarchy. You can think of this as the results of the [Dynamic Terms] query expanding to replace that item in your menu structure. In other words, this structure: – Top Level — [Dynamic Terms] will generate this: – Top Level — Term A — Term B — Term C It will *not* generate a third level, even if your Terms query returns multiple levels of terms items. To do that, we would use nesting: – Top Level — [Dynamic Terms] (set parent term) — [Dynamic Terms] (inherit parent term) which will generate this when properly configured: – Top Level — Term A — Term A1 — Term A2 — Term B — Term B1 — Term B2 — Term C — Term C1 — Term C2 2. To filter the Terms results to a single level, use the Parent Term setting The Parent Term setting allows you to filter the [Dynamic Terms] results to children of a single term. Note: to show all top level terms, select [Top Level Terms Only], or set the ID to 0. 3. The Parent Term setting can be […]