This has nothing to do with ACF, wp_nav_menu() is a native WP function, and according to the documentation, menu_id must be a string; however, an ID cannot have multiple comma separated values.
Likewise, container must be a string consisting of the (single) element name with which you want to wrap the whole menu. What you have there doesn’t make any sense.
And also likewise menu_class must be a string that contains class names as they would be put in the HTML, i. e. space separated, not comma separated. And these class names would be put on the <ul> that forms the menu list, as explained in the documentation, not on any single list item or whatever else is inside.
What exactly are you trying to do?
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
ACF PRO’s Flexible Content field allows you to create smaller pieces of UI and compose them into whole flexible patterns. In our latest article, we show how to use it to create swappable site sections and integrate it all in a theme.https://t.co/ZRocH8oJSp