I’ve been unable to find a way to reference Image Primary through dynamic content. I’ve been unable to locate any of these additional fields, only native WP menu fields.
I was hoping you could help me complete my looper and provide me the key?

I’ve been unable to find a way to reference Image Primary through dynamic content. I’ve been unable to locate any of these additional fields, only native WP menu fields.
I was hoping you could help me complete my looper and provide me the key?

In post meta, this is stored as menu-item-anchor_graphic_image_src. In your looper you can use looper.item.ID as your argument to the post.meta dynamic content. Let us know if that helps and have a great day.
apologies @charlie , but I’m a little bit confused here.
something like this?
{{ post.meta({“key”:“looper.item.{{ post.id_number }}”}) }}
Hello @charlie,
I would suggest you please use this dynamic content tag to access the menu item image URL
{{ post.meta({ key: "menu-item-anchor_graphic_image_src", post: looper.item.ID }) }}
Thanks
no way!!! that’s totally awesome. thank you!
out of curiosity, why not have these items display with the rest of the post meta?
Hello @splaquet,
Please note that WordPress navigation menus use a special post type ( nav_menu_item ). Their meta data is stored separately from pages, posts, and custom post types, so it isn’t directly available in the builder the same way page/post/custom post type meta is.
Thanks
makes sense. thanks for the heads up!
so, similar to page/post/cpts, DC: could be used via Menu > Meta Field -> select
Hello @splaquet,
Glad we could help. Yes, you can access it while looping through the menu items.
Thanks
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.