Is there a way to display the name of a custom menu in the frontend? I can't use the widget title because of the usage of many languages.
migrated from stackoverflow.com Nov 4 '11 at 15:13
This question came from our site for professional and enthusiast programmers.
Yes, you can display the name of custom menu in the frontend. All you need to know is the menu location identifier. This is the same id which is used in register_nav_menu() function.
Here is the code: