How to use wp_nav_menu to create a select menu dropdown in WordPress?

Posted by Rohit Kumar | Updated on

Want to use wp_nav_menu to create a select menu dropdown in WordPress? Use following code in your theme’s functions.php file OR in site specific plugin.

In your templates use it like this:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers