Title: Menu Code Generator (Responsive)
Last modified: January 10, 2022

---

# Menu Code Generator (Responsive)

 *  [patrick_here](https://wordpress.org/support/users/patrick_here/)
 * (@patrick_here)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/menu-code-generator-responsive/)
 * Hello,
    I’m looking for a Menu Code Generator that could just generate all the
   WordPress-related php and css (and possibly even javascript) for a responsive
   menu so that I could just copy it into a simple minimal theme I’m developing.
   Does such a generator exist? Or is there somewhere online where I can find such
   code?
 *  I know I could also just reverse-engineer it out of an existing theme but it
   seems that there ought to be some generated or reusable code around somewhere
   for such a purpose. Also: I know I could do all this with a plugin but I don’t
   want to do it that way. Thanks in advance for any help.
 * Patrick
    -  This topic was modified 4 years, 4 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

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

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/menu-code-generator-responsive/#post-13976444)
 * I didn’t do any new searches for you, but I had a bookmark for [https://generatewp.com/](https://generatewp.com/)
   which focuses on the PHP portion. It’s not what you want at all, I’m afraid. 
   The PHP portion is very minimal.
 * I use [http://www.cssplay.co.uk/menus/](http://www.cssplay.co.uk/menus/) for 
   ideas about the CSS portion. You have to adjust the CSS for WordPress’ standard
   menu walker, unless you supply a different walker. Also, the standard walkers
   generate slightly different classes for a Page menu (which is the standard fallback)
   and a custom menu created by the user.
    Bootstrap has a walker that is used in
   many themes, but I don’t recommend it. My own theme’s menu is CSS only, but most
   themes have some javascript to handle mobile and accessibility concerns.
 * The menu is the tricky part of a theme, and they are all different. You’d be 
   better off copying the menu from a theme that you like (or a plugin, where it’s
   already separate).
 *  Thread Starter [patrick_here](https://wordpress.org/support/users/patrick_here/)
 * (@patrick_here)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/menu-code-generator-responsive/#post-13976614)
 * Hello Joy,
    Yeah, yeah, I know all that. But thanks for replying anyway (misery
   loves company). It’s rather amazing that there’s no straightforward answer for
   this question.
 *  And I didn’t know anything about the Bootstrap option so thanks for commenting
   on it. I see many people seem to be using it for menus in WordPress but I’m wanting
   to use CSS Grid instead of Bootstrap so I wouldn’t want the Bootstrap dependency
   just for the nav menu.
 *  There are various cute little web pages online about how to create a wordpress
   menu with responsive capability but so many of them are single-level-only on 
   mobile – it’s annoying!
 * Thanks again!!
    Patrick

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

The topic ‘Menu Code Generator (Responsive)’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [patrick_here](https://wordpress.org/support/users/patrick_here/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/menu-code-generator-responsive/#post-13976614)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
