Title: Create a dynamic menu
Last modified: April 12, 2021

---

# Create a dynamic menu

 *  Resolved [Stu Carpenter](https://wordpress.org/support/users/greatbig47/)
 * (@greatbig47)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/create-a-dynamic-menu/)
 * I’m trying to create a dynamic menu that will display a dynamic sidebar on each
   of these pages, using the same PODS template. It’s working now, but ony because
   it’s static.
    - [https://mouseandcastle.com/parks/magic-kingdom/](https://mouseandcastle.com/parks/magic-kingdom/)
    - [https://mouseandcastle.com/parks/epcot/](https://mouseandcastle.com/parks/epcot/)
    - [https://mouseandcastle.com/parks/hollywood-studios/](https://mouseandcastle.com/parks/hollywood-studios/)
    - [https://mouseandcastle.com/parks/animal-kingdom/](https://mouseandcastle.com/parks/animal-kingdom/)
 * I’m using PODS to expand my use of WordPress Categories…that’s why the actual
   word “Categories” was in the code. I tried this, with no success…
 * `[if magic-kingdom]
    [each category] <a href=”{@permalink}”>{@name}</a> [/each][/
   if]
 * PLEASE help me.
 * Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcreate-a-dynamic-menu%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/create-a-dynamic-menu/#post-14316786)
 * You need to use the category (taxonomy) name for both the if and each statement:
 *     ```
       [if taxonomy_name]
       [each taxonomy_name]
       <a href=”{@permalink}”>{@name}</a>
       [/each]
       [/if]
       ```
   
 * Cheers, Jory
 *  Thread Starter [Stu Carpenter](https://wordpress.org/support/users/greatbig47/)
 * (@greatbig47)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/create-a-dynamic-menu/#post-14348818)
 * Since I’m not using a custom taxonomy, I should be able to use the category name,
   correct? I’m still using PODS to extend the use of categories.
 * So now I have this…I think this is close to right, but it’s still not showing
   up…
 * [if magic-kingdom]
    [each magic-kingdom] <h2>[{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)
   </h2> [/each] [/if]
 * [if adventureland]
    [each adventureland] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if fantasyland]
    [each fantasyland] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if frontierland]
    [each frontierland] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if liberty-square]
    [each liberty-square] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if main-street-usa]
    [each main-street-usa] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if tomorrowland]
    [each tomorrowland] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if epcot]
    [each epcot] <h2>[{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)
   <h2> [/each] [/if]
 * [if future-world-west]
    [each future-world-west] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if future-world-east]
    [each future-world-east] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if international-gateway]
    [each international-gateway] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if world-showcase]
    [each world-showcase] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if norway]
    [each norway] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if france]
    [each france] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if china]
    [each china] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if mexico]
    [each mexico] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if germany]
    [each germany] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if japan]
    [each japan] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if italy]
    [each italy] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if morocco]
    [each morocco] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if outpost]
    [each outpost] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if canada]
    [each canada] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if the-american-adventure]
    [each the-american-adventure] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if hollywood-studios]
    [each hollywood-studios] <h2>[{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)
   </h2> [/each] [/if]
 * [if animation-courtyard]
    [each animation-courtyard] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 *  [if commissary-lane]
    [each commissary-lane] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 *  [if echo-lake]
    [each echo-lake] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 *  [if grand-avenue]
    [each grand-avenue] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 *  [if hollywood-boulevard]
    [each hollywood-boulevard] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 *  [if pixar-place]
    [each pixar-place] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 *  [if star-wars-galaxys-edge]
    [each star-wars-galaxys-edge] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 *  [if sunset-boulevard]
    [each sunset-boulevard] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 *  [if toy-story-land]
    [each toy-story-land] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 * [if animal-kingdom]
    [each animal-kingdom] <h2>[{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)
   </h2> [/each] [/if]
 * [if africa]
    [each africa] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 *  [if asia]
    [each asia] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 *  [if dinoland-usa]
    [each dinoland-usa] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 *  [if discovery-island]
    [each discovery-island] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 *  [if oasis]
    [each oasis] [{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)[/
   each] [/if]
 *  [if pandora]
    [each pandora] <h2>[{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)
   </h2> [/each] [/if]
 *  [if rafikis-planet-watch]
    [each rafikis-planet-watch] <h2>[{@name}](https://wordpress.org/support/topic/create-a-dynamic-menu/”{@permalink}”?output_format=md)
   </h2> [/each] [/if]
 *  Thread Starter [Stu Carpenter](https://wordpress.org/support/users/greatbig47/)
 * (@greatbig47)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/create-a-dynamic-menu/#post-14348840)
 * The Menu doesn’t show up, but at least it no longer says “Pod Not Found”!
    THAT’S
   IMPROVEMENT! 🙂
 * BTW—I’m working with a mental condition, and I really do appreciate your patience.
   Thank you, Jori! It really means a lot to me.
 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/create-a-dynamic-menu/#post-14351463)
 * Hi [@greatbig47](https://wordpress.org/support/users/greatbig47/)
 * I think you are misunderstanding how magic tags work. It looks like you are adding
   the actual terms in there. That is not how it works.
    You can only use field 
   names or taxonomies within magic tags. The content of these fields will vary 
   per object.
 * I think it’s best if you take your time and watch our introduction video to get
   a more clear view of how Pods works:
    [https://docs.pods.io/videos/grow-beyond-posts-pages-introduction-pods-framework/](https://docs.pods.io/videos/grow-beyond-posts-pages-introduction-pods-framework/)
 * Cheers, Jory

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Create a dynamic menu’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [lists](https://wordpress.org/support/topic-tag/lists/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/create-a-dynamic-menu/#post-14351463)
 * Status: resolved