Continued Megamenu Experiments

The medieval philosopher Occam said, that if there are more solutions with a similar result, then the most simple one is the best. Then what is the simplest possible Megamenu for WordPress.

Here is the simplified code for a Megamenu:

Now it should be possible to build a template with a Megamenu. The scripts and CSS should be loaded via s plugin – or if it’s a theme from scratch via functions.php enqueues.

If you can create solution with fewer lines of code, let me know in the comments.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *